Skip to content

Commit

Permalink
Add phpstorm metadata for ContainerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
webflo authored and Chi-teck committed Sep 15, 2022
1 parent 61dba1f commit ccccf39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/phpstorm-metadata/phpstorm.meta.php.twig
Expand Up @@ -10,6 +10,15 @@ namespace PHPSTORM_META {
{% endfor %}
])
);

override(
\Symfony\Component\DependencyInjection\ContainerInterface::get(0),
map([
{% for service_id, class in services %}
'{{ service_id }}' => '{{ class }}',
{% endfor %}
])
);

override(
\Drupal\Core\Entity\EntityTypeManagerInterface::getStorage(0),
Expand Down

0 comments on commit ccccf39

Please sign in to comment.