| 1 | <?php |
||
| 7 | class ScriptBranch |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ScriptInterface |
||
| 11 | */ |
||
| 12 | private $fullScript; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array|\array[] |
||
| 16 | */ |
||
| 17 | private $scriptSections; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array|\bool[] |
||
| 21 | */ |
||
| 22 | private $branch; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * ScriptBranch constructor. |
||
| 26 | * @param ScriptInterface $fullScript |
||
| 27 | * @param array $logicalPath |
||
| 28 | * @param array $scriptSections |
||
| 29 | */ |
||
| 30 | 180 | public function __construct(ScriptInterface $fullScript, array $logicalPath, array $scriptSections) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return array|\bool[] |
||
| 39 | */ |
||
| 40 | 180 | public function getPath() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return array|\array[] |
||
| 47 | */ |
||
| 48 | 174 | public function getScriptSections() |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return array |
||
| 55 | */ |
||
| 56 | 38 | public function getOps() |
|
| 64 | } |
||
| 65 |