| 1 | <?php |
||
| 12 | abstract class CompositeSpecification implements Specification |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Chain with AndX specification |
||
| 16 | * |
||
| 17 | * @param Specification $specification |
||
| 18 | * |
||
| 19 | * @return AndX |
||
| 20 | */ |
||
| 21 | 2 | public function andX(Specification $specification): AndX |
|
| 25 | |||
| 26 | /** |
||
| 27 | * Chain with OrX specification |
||
| 28 | * |
||
| 29 | * @param Specification $specification |
||
| 30 | * |
||
| 31 | * @return OrX |
||
| 32 | */ |
||
| 33 | 2 | public function orX(Specification $specification): OrX |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Chain with Not specification |
||
| 40 | * |
||
| 41 | * @return Not |
||
| 42 | */ |
||
| 43 | 2 | public function not(): Not |
|
| 47 | } |
||
| 48 |