| 1 | <?php |
||
| 11 | class Dispatcher implements CommandAttachable |
||
| 12 | { |
||
| 13 | /** @var \Psr\Container\ContainerInterface */ |
||
| 14 | protected $container; |
||
| 15 | |||
| 16 | /** @var \Symfony\Component\Console\Application */ |
||
| 17 | protected $application; |
||
| 18 | |||
| 19 | public function __construct(Application $application, ContainerInterface $container) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function attach(string $name, $command): SymfonyCommand |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return int |
||
| 44 | */ |
||
| 45 | public function execute() |
||
| 49 | } |
||
| 50 |