Skip to content

Commit ccccf39

Browse files
webfloChi-teck
authored andcommitted
Add phpstorm metadata for ContainerInterface
1 parent 61dba1f commit ccccf39

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates/phpstorm-metadata/phpstorm.meta.php.twig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ namespace PHPSTORM_META {
1010
{% endfor %}
1111
])
1212
);
13+
14+
override(
15+
\Symfony\Component\DependencyInjection\ContainerInterface::get(0),
16+
map([
17+
{% for service_id, class in services %}
18+
'{{ service_id }}' => '{{ class }}',
19+
{% endfor %}
20+
])
21+
);
1322
1423
override(
1524
\Drupal\Core\Entity\EntityTypeManagerInterface::getStorage(0),

0 commit comments

Comments
 (0)