| 1 | <?php |
||
| 14 | class ArchiveTokenCommand extends Command |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ArchivistInterface |
||
| 18 | */ |
||
| 19 | private $archivist; |
||
| 20 | |||
| 21 | 2 | public function __construct(ArchivistInterface $archivist) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritDoc |
||
| 30 | */ |
||
| 31 | 2 | protected function configure() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 60 | } |
||
| 61 |
If you suppress an error, we recommend checking for the error condition explicitly: