| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php |
||
| 15 | class LogicTreeFacade |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ConditionManager |
||
| 19 | */ |
||
| 20 | private $conditionManager; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var OperatorPool |
||
| 24 | */ |
||
| 25 | private $operatorPool; |
||
| 26 | |||
| 27 | public function __construct(?ConditionManager $conditionManager = null) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function addOperator(string $type, string $operatorCode, OperatorInterface $operator): LogicTreeFacade |
||
| 34 | { |
||
| 35 | $this->operatorPool->addOperator($type, $operatorCode, $operator); |
||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function createDataSource(iterable $data): DataSource |
||
| 42 | } |
||
| 43 | |||
| 44 | public function executeCombineConditions(NodeInterface $node, DataSource $dataSource): bool |
||
| 49 |