so I set something with DI:
$di->setShared('env', function() { return MyOwnClass(); });
and reach it
$this->getDI()->get('env')
or
$this->getDI()->getEnv()
but now there is no chance to use autocompletion by my IDE. Is there a way to set "what 'env' is" ? Its class?