1 | <?php |
||
11 | final class CommandDispatcherException extends \LogicException implements ExceptionInterface |
||
12 | { |
||
13 | /** |
||
14 | * @param AbstractCommand $command |
||
15 | * |
||
16 | * @return CommandDispatcherException |
||
17 | */ |
||
18 | public static function commandHandlerNotFound(AbstractCommand $command) |
||
22 | |||
23 | /** |
||
24 | * @param AbstractCommand $command |
||
25 | * @param CommandHandlerInterface[] $commandHandlers |
||
26 | * |
||
27 | * @return CommandDispatcherException |
||
28 | */ |
||
29 | public static function tooManyCommandHandler(AbstractCommand $command, array $commandHandlers) |
||
46 | |||
47 | /** |
||
48 | * @param string $commandClassName |
||
49 | * @param CommandHandlerInterface $previous |
||
50 | * @param CommandHandlerInterface $current |
||
51 | * |
||
52 | * @return CommandDispatcherException |
||
53 | */ |
||
54 | public static function commandHandlerAlreadyDefinedForCommand( |
||
66 | } |
||
67 |