Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种解决方案来为 PhpStorm IDE 正确声明一个惰性服务注入器。这是一个例子:
$app = new Silex\Application(); /** * ??? */ $app['file'] = function() { return new M_file(); };