|
@@ -35,25 +35,25 @@ |
|
|
block discarded – undo |
|
35
|
35
|
public function getFactories(): array |
|
36
|
36
|
{ |
|
37
|
37
|
return [ |
|
38
|
|
- Cache\CacheManager::class => [ static::class, 'getCacheManager' ], |
|
39
|
|
- Console\CommandApplication::class => [ static::class, 'getConsoleCommandApplication' ], |
|
40
|
|
- Console\CommandRegistry::class => [ static::class, 'getConsoleCommandRegistry' ], |
|
41
|
|
- Context\Context::class => [ static::class, 'getContext' ], |
|
42
|
|
- EventDispatcher\EventDispatcher::class => [ static::class, 'getEventDispatcher' ], |
|
43
|
|
- EventDispatcher\ListenerProvider::class => [ static::class, 'getEventListenerProvider' ], |
|
44
|
|
- Http\MiddlewareStackResolver::class => [ static::class, 'getMiddlewareStackResolver' ], |
|
45
|
|
- Service\DependencyOrderingService::class => [ static::class, 'getDependencyOrderingService' ], |
|
46
|
|
- Crypto\PasswordHashing\PasswordHashFactory::class => [ static::class, 'getPasswordHashFactory' ], |
|
47
|
|
- Resource\ResourceFactory::class => [ static::class, 'getResourceFactory' ], |
|
48
|
|
- 'middlewares' => [ static::class, 'getMiddlewares' ], |
|
|
38
|
+ Cache\CacheManager::class => [static::class, 'getCacheManager'], |
|
|
39
|
+ Console\CommandApplication::class => [static::class, 'getConsoleCommandApplication'], |
|
|
40
|
+ Console\CommandRegistry::class => [static::class, 'getConsoleCommandRegistry'], |
|
|
41
|
+ Context\Context::class => [static::class, 'getContext'], |
|
|
42
|
+ EventDispatcher\EventDispatcher::class => [static::class, 'getEventDispatcher'], |
|
|
43
|
+ EventDispatcher\ListenerProvider::class => [static::class, 'getEventListenerProvider'], |
|
|
44
|
+ Http\MiddlewareStackResolver::class => [static::class, 'getMiddlewareStackResolver'], |
|
|
45
|
+ Service\DependencyOrderingService::class => [static::class, 'getDependencyOrderingService'], |
|
|
46
|
+ Crypto\PasswordHashing\PasswordHashFactory::class => [static::class, 'getPasswordHashFactory'], |
|
|
47
|
+ Resource\ResourceFactory::class => [static::class, 'getResourceFactory'], |
|
|
48
|
+ 'middlewares' => [static::class, 'getMiddlewares'], |
|
49
|
49
|
]; |
|
50
|
50
|
} |
|
51
|
51
|
|
|
52
|
52
|
public function getExtensions(): array |
|
53
|
53
|
{ |
|
54
|
54
|
return [ |
|
55
|
|
- EventDispatcherInterface::class => [ static::class, 'provideFallbackEventDispatcher' ], |
|
56
|
|
- EventDispatcher\ListenerProvider::class => [ static::class, 'extendEventListenerProvider' ], |
|
|
55
|
+ EventDispatcherInterface::class => [static::class, 'provideFallbackEventDispatcher'], |
|
|
56
|
+ EventDispatcher\ListenerProvider::class => [static::class, 'extendEventListenerProvider'], |
|
57
|
57
|
] + parent::getExtensions(); |
|
58
|
58
|
} |
|
59
|
59
|
|