I'm writing an autoloader but can't seem to get code hinting working on PHPStorm.
Here is the autoloader
function __autoloader()
{
$arr = array(
'class1',
'class2',
'class3',
);
foreach ($arr as $class)
{
require_once($class . '.php');
}
}
$obj = new class1();
$obj->????
Assuming that each class is completely different, what is the best way to get code hinting with the above code?
Thanks.