Slim frame work provides a USE keyword that allows to handle more parameters passed.
example code below
$prop = new stdClass();
$prop->hospital = new Hospital();
$prop->sanitize = new Sanitize();
$prop->validator = new Validator();
$app->get("/route/:id", function($id) use($prop){
//variable $id is accessible, but is not autosuggested.
//variable $prop is accessible
});
with Komodo, the parameter within last closing braces use($prop){}
is only suggested.
$id
is not.