We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ServiceSubscriberTrait
1 parent 5c29d51 commit d0843beCopy full SHA for d0843be
src/Symfony/Contracts/Service/ServiceSubscriberTrait.php
@@ -29,12 +29,6 @@ trait ServiceSubscriberTrait
29
*/
30
public static function getSubscribedServices(): array
31
{
32
- static $services;
33
-
34
- if (null !== $services) {
35
- return $services;
36
- }
37
38
$services = method_exists(get_parent_class(self::class) ?: '', __FUNCTION__) ? parent::getSubscribedServices() : [];
39
40
foreach ((new \ReflectionClass(self::class))->getMethods() as $method) {
0 commit comments