1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 14:37:49 +00:00
Files
matomo/.phpstorm.meta.php
Matthieu Napoli 2464b5c7e1 Add support for auto-completion when using the container thanks to the latest PhpStorm beta
See https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata

For example:

```
$logger = StaticContainer::get('Psr\Log\LoggerInterface');
$logger->
```

The autocompletion would work based on the argument passed to `StaticContainer::get()`.
(cherry picked from commit 92960ac)
2015-06-24 17:39:37 +02:00

11 خطوط
165 B
PHP

<?php
namespace PHPSTORM_META
{
$STATIC_METHOD_TYPES = array(
\Piwik\Container\StaticContainer::get('') => [
"" == "@",
],
);
}