Hello,
In one of are projects, we are using a registryclass to registry some basic classes that are used anywhere in the project.
For example the database class:
registry::add('database',databaseClass::getInstance()); |
We call this function in the index file of the project (included everywhere).
The databaseClass contains a few methods. The great autocomplete function of PhpEd will show those functions when calling the class as follow:
$db = databaseClass::getInstance();
$db-> ..... (auto completion) |
But.. when using the registry class as follow:
$db = registry::get('database');
$db-> .... no auto completion... |
Is there a way in PhpEd to get the auto completion to work in this situation?
Maby it is already added/fixed in a newer version (we are using 5.6)?
Thanks already!
Sander