Lazy service injector PHPDoc

57 Views Asked by At

I am looking for a solution to declare properly a lazy service injector for the PhpStorm IDE. Here is an example:

$app = new Silex\Application();

/**
* ???
*/
$app['file'] = function() {
  return new M_file();
};
0

There are 0 best solutions below