| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function __construct(array $opsLists) |
||
| 27 | { |
||
| 28 | foreach ($opsLists as $opList) { |
||
| 29 | if (!($opList instanceof OperationContainer)) { |
||
| 30 | throw new \InvalidArgumentException("Invalid argument: Array of OperationContainer required"); |
||
| 31 | } |
||
| 32 | } |
||
| 33 | $this->container = $opsLists; |
||
| 34 | $this->count = count($opsLists); |
||
| 35 | } |
||
| 36 | |||
| 117 |