I am trying PHPStorm and have problems completing it. I am writing a project with the Silex framework and am confronted with the lack of PHPStorm code to complete the code for the Silex injection container. For example, this is not codecomplete $app['twig']-> or $app['db']-> or any other service. The only way I found is to do something like this
$db = $app['db']; $db->....
And then PHPStorm will complete the code. Services are registered using the ServiceProvider interface. Is there any way to make PHPStorm do code completion in such cases without additional vars and comments?
source share