1 | <?php |
||
23 | class EventServiceProvider implements ServiceProviderInterface |
||
24 | { |
||
25 | /** |
||
26 | * Registers the service provider with a DI container. |
||
27 | * |
||
28 | * @param Container $container The DI container. |
||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | 12 | public function register(Container $container): void |
|
43 | |||
44 | /** |
||
45 | * Get the AnalyticsSubscriber service |
||
46 | * |
||
47 | * @param Container $container The DI container. |
||
48 | * |
||
49 | * @return AnalyticsSubscriber |
||
50 | */ |
||
51 | 10 | public function getAnalyticsSubscriberService(Container $container): AnalyticsSubscriber |
|
58 | |||
59 | /** |
||
60 | * Get the DispatcherInterface service |
||
61 | * |
||
62 | * @param Container $container The DI container. |
||
63 | * |
||
64 | * @return DispatcherInterface |
||
65 | */ |
||
66 | 10 | public function getDispatcherService(Container $container): DispatcherInterface |
|
77 | |||
78 | /** |
||
79 | * Get the ErrorSubscriber service |
||
80 | * |
||
81 | * @param Container $container The DI container. |
||
82 | * |
||
83 | * @return ErrorSubscriber |
||
84 | */ |
||
85 | 10 | public function getErrorSubscriberService(Container $container): ErrorSubscriber |
|
92 | } |
||
93 |