12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace Symfony\Component\EventDispatcher;
- use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
- trigger_deprecation('symfony/event-dispatcher', '5.1', '%s is deprecated, use the event dispatcher without the proxy.', LegacyEventDispatcherProxy::class);
- final class LegacyEventDispatcherProxy
- {
- public static function decorate(?EventDispatcherInterface $dispatcher): ?EventDispatcherInterface
- {
- return $dispatcher;
- }
- }
|