| 1 | <?php |
||
| 8 | class ScriptBranch |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var ScriptInterface |
||
| 12 | */ |
||
| 13 | private $fullScript; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array|\array[] |
||
| 17 | */ |
||
| 18 | private $scriptSections; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array|\bool[] |
||
| 22 | */ |
||
| 23 | private $branch; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * ScriptBranch constructor. |
||
| 27 | * @param ScriptInterface $fullScript |
||
| 28 | * @param array $logicalPath |
||
| 29 | * @param array $scriptSections |
||
| 30 | */ |
||
| 31 | 154 | public function __construct(ScriptInterface $fullScript, array $logicalPath, array $scriptSections) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return array|\bool[] |
||
| 40 | */ |
||
| 41 | 154 | public function getPath() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return array|\array[] |
||
| 48 | */ |
||
| 49 | 136 | public function getScriptSections() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return array |
||
| 56 | */ |
||
| 57 | 18 | public function getOps() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return array |
||
| 68 | */ |
||
| 69 | public function __debugInfo() |
||
| 86 | } |
||
| 87 |