Autosuggest for php objects converted from an array

Simple code

$prop = new stdClass();
$prop->treatment = new Treatment();
$prop->helper  = new Helper();
$prop-> .... // shoudl autosuggest

OR

$prop = array();
$prop["hospital"] = new Hospital();
$prop["sanitize"] = new Sanitize();
$prop["validator"] = new Validator();
$prop = (object)$prop;

now using

$prop->hospital->... // should show me suggestions

Even this should work

$prop->... // should show suggestions if possible.

@nathanr anything on this?

To the best of my knowledge this simply isnt supported at the moment. I’ve opened an enhancement request here: