1 | <?php declare(strict_types=1); |
||
7 | class BashCommand implements Command |
||
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 |