Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | class Asserter extends \Hoa\Ruler\Visitor\Asserter |
||
21 | { |
||
22 | /** |
||
23 | * @param Context $context context |
||
24 | */ |
||
25 | 6 | public function __construct(Context $context = null) |
|
26 | { |
||
27 | 6 | parent::__construct($context); |
|
28 | 6 | $this->setOperator('and', [$this, 'makeAnd']); |
|
29 | 6 | } |
|
30 | |||
31 | 1 | public function makeAnd($lhs, $rhs) |
|
32 | { |
||
33 | 1 | return new LastCombination($lhs, $rhs); |
|
34 | } |
||
35 | |||
36 | 5 | public function visitModel(Model $element, &$handle = null, $eldnah = null) |
|
39 | } |
||
40 | } |
||
41 |