1 | <?php |
||
44 | abstract class AbstractTestCase extends TestCase { |
||
45 | |||
46 | /** |
||
47 | * Container builder. |
||
48 | * |
||
49 | * @var ContainerBuilder |
||
50 | */ |
||
51 | protected $containerBuilder; |
||
52 | |||
53 | /** |
||
54 | * Entity manager. |
||
55 | * |
||
56 | * @var EntityManagerInterface; |
||
57 | */ |
||
58 | protected $entityManager; |
||
59 | |||
60 | /** |
||
61 | * Event dispatcher. |
||
62 | * |
||
63 | * @var EventDispatcherInterface |
||
64 | */ |
||
65 | protected $eventDispatcher; |
||
66 | |||
67 | /** |
||
68 | * Flash bag. |
||
69 | * |
||
70 | * @var FlashBagInterface |
||
71 | */ |
||
72 | protected $flashBag; |
||
73 | |||
74 | /** |
||
75 | * Kernel. |
||
76 | * |
||
77 | * @var KernelInterface |
||
78 | */ |
||
79 | protected $kernel; |
||
80 | |||
81 | /** |
||
82 | * Logger. |
||
83 | * |
||
84 | * @var LoggerInterface |
||
85 | */ |
||
86 | protected $logger; |
||
87 | |||
88 | /** |
||
89 | * Object manager. |
||
90 | * |
||
91 | * @var ObjectManager |
||
92 | */ |
||
93 | protected $objectManager; |
||
94 | |||
95 | /** |
||
96 | * Router. |
||
97 | * |
||
98 | * @var RouterInterface |
||
99 | */ |
||
100 | protected $router; |
||
101 | |||
102 | /** |
||
103 | * Session. |
||
104 | * |
||
105 | * @var SessionInterface |
||
106 | */ |
||
107 | protected $session; |
||
108 | |||
109 | /** |
||
110 | * Session bag. |
||
111 | * |
||
112 | * @var SessionBagInterface |
||
113 | */ |
||
114 | protected $sessionBag; |
||
115 | |||
116 | /** |
||
117 | * Swift mailer. |
||
118 | * |
||
119 | * @var Swift_Mailer |
||
120 | */ |
||
121 | protected $swiftMailer; |
||
122 | |||
123 | /** |
||
124 | * Token |
||
125 | * |
||
126 | * @var TokenInterface |
||
127 | */ |
||
128 | protected $token; |
||
129 | |||
130 | /** |
||
131 | * Token storage. |
||
132 | * |
||
133 | * @var TokenStorageInterface |
||
134 | */ |
||
135 | protected $tokenStorage; |
||
136 | |||
137 | /** |
||
138 | * Translator. |
||
139 | * |
||
140 | * @var BaseTranslatorInterface |
||
141 | */ |
||
142 | protected $translator; |
||
143 | |||
144 | /** |
||
145 | * Twig environment. |
||
146 | * |
||
147 | * @var Environment |
||
148 | */ |
||
149 | protected $twigEnvironment; |
||
150 | |||
151 | /** |
||
152 | * Twig globals. |
||
153 | * |
||
154 | * @var array |
||
155 | */ |
||
156 | private $twigGlobals = []; |
||
157 | |||
158 | /** |
||
159 | * Twig loader. |
||
160 | * |
||
161 | * @var LoaderInterface |
||
162 | */ |
||
163 | protected $twigLoader; |
||
164 | |||
165 | /** |
||
166 | * User. |
||
167 | * |
||
168 | * @var UserInterface |
||
169 | */ |
||
170 | protected $user; |
||
171 | |||
172 | /** |
||
173 | * Get the dispatch() method for an EventDispatcher. |
||
174 | * |
||
175 | * @return Closure Returns the dispatch() method for an EventDispatcher. |
||
176 | */ |
||
177 | public static function getEventDispatcherDispatchFunction(): Closure { |
||
191 | |||
192 | /** |
||
193 | * {@inheritDoc} |
||
194 | */ |
||
195 | protected function setUp(): void { |
||
275 | } |
||
276 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.