| 1 | <?php  | 
            ||
| 20 | class MethodNotFoundException extends Exception  | 
            ||
| 21 | { | 
            ||
| 22 | /**  | 
            ||
| 23 | *  | 
            ||
| 24 | * @var CommandInterface  | 
            ||
| 25 | */  | 
            ||
| 26 | protected $command;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | *  | 
            ||
| 30 | * @var UseCaseInterface  | 
            ||
| 31 | */  | 
            ||
| 32 | protected $useCase;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | *  | 
            ||
| 36 | * @var string  | 
            ||
| 37 | */  | 
            ||
| 38 | protected $method;  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | *  | 
            ||
| 42 | * @param CommandInterface $command  | 
            ||
| 43 | * @param UseCaseInterface $useCase  | 
            ||
| 44 | * @param string $method  | 
            ||
| 45 | */  | 
            ||
| 46 | public function __construct(CommandInterface $command, UseCaseInterface $useCase, $method)  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 | *  | 
            ||
| 55 | * @return CommandInterface  | 
            ||
| 56 | */  | 
            ||
| 57 | public function getCommand()  | 
            ||
| 61 | |||
| 62 | /**  | 
            ||
| 63 | *  | 
            ||
| 64 | * @return UseCaseInterface  | 
            ||
| 65 | */  | 
            ||
| 66 | public function getUseCase()  | 
            ||
| 70 | |||
| 71 | /**  | 
            ||
| 72 | *  | 
            ||
| 73 | * @return string  | 
            ||
| 74 | */  | 
            ||
| 75 | public function getMethod()  | 
            ||
| 79 | }  | 
            ||
| 80 |