| 1 | <?php declare(strict_types=1); |
||
| 7 | class BashCommand implements ProcessCommand |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Script |
||
| 11 | */ |
||
| 12 | private $script; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param Script $script |
||
| 16 | */ |
||
| 17 | public function __construct(Script $script) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return Script |
||
| 24 | */ |
||
| 25 | public function getScript(): Script |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return int |
||
| 32 | */ |
||
| 33 | public function getLineNumber(): int |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return boolean |
||
| 40 | */ |
||
| 41 | public function isIgnoreError(): bool |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return bool |
||
| 48 | */ |
||
| 49 | public function isTTy(): bool |
||
| 53 | } |
||
| 54 |