@@ -31,6 +31,10 @@ public class SymfonyPhpReferenceContributor extends PsiReferenceContributor {
31
31
new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "get" ),
32
32
new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "has" ),
33
33
34
+ // Symfony 4
35
+ new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "get" ),
36
+ new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "has" ),
37
+
34
38
new MethodMatcher .CallToSignature ("\\ Symfony\\ Component\\ DependencyInjection\\ ContainerInterface" , "get" ),
35
39
new MethodMatcher .CallToSignature ("\\ Symfony\\ Component\\ DependencyInjection\\ ContainerInterface" , "has" ),
36
40
new MethodMatcher .CallToSignature ("\\ Psr\\ Container\\ ContainerInterface" , "get" ),
@@ -70,6 +74,11 @@ public class SymfonyPhpReferenceContributor extends PsiReferenceContributor {
70
74
new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "renderView" ),
71
75
new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ ControllerTrait" , "stream" ),
72
76
77
+ // Symfony 4
78
+ new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "render" ),
79
+ new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "stream" ),
80
+ new MethodMatcher .CallToSignature ("\\ Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ AbstractController" , "renderView" ),
81
+
73
82
new MethodMatcher .CallToSignature ("\\ Twig_Environment" , "render" ),
74
83
new MethodMatcher .CallToSignature ("\\ Twig_Environment" , "loadTemplate" ),
75
84
new MethodMatcher .CallToSignature ("\\ Twig_Environment" , "getTemplateClass" ),
0 commit comments