| 1 | <?php  | 
            ||
| 12 | abstract class AbstractUseCaseCollection implements UseCaseCollectionInterface  | 
            ||
| 13 | { | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | *  | 
            ||
| 17 | * Example:  | 
            ||
| 18 | *  | 
            ||
| 19 | * return [  | 
            ||
| 20 | * 'APL\Example\EditCommand' => 'edit',  | 
            ||
| 21 | * 'APL\Example\AddCommand' => 'add'  | 
            ||
| 22 | * ];  | 
            ||
| 23 | *  | 
            ||
| 24 | *  | 
            ||
| 25 | * @return array  | 
            ||
| 26 | */  | 
            ||
| 27 | abstract public function register();  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | *  | 
            ||
| 31 | * @param CommandInterface $command  | 
            ||
| 32 | * @return APL\Response\ResponseInterface  | 
            ||
| 33 | */  | 
            ||
| 34 | public function run(CommandInterface $command)  | 
            ||
| 45 | }  | 
            ||
| 46 |