You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a dependency on Symfony\Component\EventDispatcher\EventSubscriberInterface in Symfony\Component\Config\Resource\ReflectionClassResource.
I am using the config and dependency-injection components and when trying to compile/dump the container I get a exception. Same thing would happen on Symfony\Component\DependencyInjection\ServiceSubscriberInterface.
Those if should also have a class_exists check:
if ($class->isSubclassOf(EventSubscriberInterface::class)) {
yield EventSubscriberInterface::class;
yieldprint_r(\call_user_func(array($class->name, 'getSubscribedEvents')), true);
}
if ($class->isSubclassOf(ServiceSubscriberInterface::class)) {
yield ServiceSubscriberInterface::class;
yieldprint_r(\call_user_func(array($class->name, 'getSubscribedServices')), true);
}