| 1 | <?php |
||
| 31 | class CatCommand extends AbstractCommand |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * Available arguments for this command. |
||
| 35 | * |
||
| 36 | * @var array $arguments |
||
| 37 | */ |
||
| 38 | protected $arguments = [ |
||
| 39 | 'file' => [] |
||
| 40 | ]; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | * |
||
| 45 | * @var mixed $options |
||
| 46 | */ |
||
| 47 | protected $options = [ |
||
| 48 | '--output' => '', |
||
| 49 | '--rev' => '', |
||
| 50 | '--decode' => false, |
||
| 51 | '--include' => [], |
||
| 52 | '--exclude' => [], |
||
| 53 | ]; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 1 | public function getFile() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @param string $file |
||
| 65 | * |
||
| 66 | * @return void |
||
| 67 | */ |
||
| 68 | 1 | public function addFile($file) |
|
| 72 | |||
| 73 | /** |
||
| 74 | * {@inheritdoc} |
||
| 75 | */ |
||
| 76 | 1 | public function __toString() |
|
| 85 | } |
||
| 86 |