Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | abstract class CompositeSpecification implements SpecificationInterface |
||
9 | { |
||
10 | /** |
||
11 | * {@inheritdoc} |
||
12 | */ |
||
13 | public function andX(SpecificationInterface $specification) |
||
14 | { |
||
15 | return new AndSpecification($this, $specification); |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function orX(SpecificationInterface $specification) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public function not() |
||
32 | } |
||
33 | } |