Created phpstorm meta fle to get ContainerInterop typehint based on service name

This commit is contained in:
Alejandro Celaya 2016-08-05 07:20:40 +02:00
parent 5e493b435a
commit 7b1b00901a

19
.phpstorm.meta.php Normal file
View file

@ -0,0 +1,19 @@
<?php
namespace PHPSTORM_META;
use Interop\Container\ContainerInterface;
/**
* 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('') => [
'' == '@',
],
];