2016-08-05 08:20:40 +03:00
|
|
|
<?php
|
|
|
|
namespace PHPSTORM_META;
|
|
|
|
|
2017-04-16 11:27:27 +03:00
|
|
|
use Psr\Container\ContainerInterface;
|
2019-01-28 12:52:05 +03:00
|
|
|
use Zend\ServiceManager\ServiceLocatorInterface;
|
2016-08-05 08:20:40 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* PhpStorm Container Interop code completion
|
|
|
|
*
|
|
|
|
* Add code completion for container-interop.
|
|
|
|
*
|
|
|
|
* \App\ClassName::class will automatically resolve to it's own name.
|
|
|
|
*
|
|
|
|
* Custom strings like ``"cache"`` or ``"logger"`` need to be added manually.
|
|
|
|
*/
|
|
|
|
$STATIC_METHOD_TYPES = [
|
|
|
|
ContainerInterface::get('') => [
|
|
|
|
'' == '@',
|
|
|
|
],
|
2019-01-28 12:52:05 +03:00
|
|
|
ServiceLocatorInterface::build('') => [
|
2017-07-05 19:12:03 +03:00
|
|
|
'' == '@',
|
|
|
|
],
|
2016-08-05 08:20:40 +03:00
|
|
|
];
|