add getDispatcher method
This commit is contained in:
@@ -17,4 +17,9 @@ trait Behaviour
|
||||
{
|
||||
self::addDispatcher($container);
|
||||
}
|
||||
|
||||
private static function getDispatcher(Container $container): Dispatcher
|
||||
{
|
||||
return $container->get(Dispatcher::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user