1 | <?php |
||
10 | abstract class AbstractSpecification implements Specification |
||
11 | { |
||
12 | /** |
||
13 | * Create a conjunction with the current specification and another one. |
||
14 | * |
||
15 | * @param Specification $spec The other specification. |
||
16 | */ |
||
17 | public function andX(Specification $spec): AndX |
||
21 | |||
22 | /** |
||
23 | * Create a disjunction with the current specification and another one. |
||
24 | * |
||
25 | * @param Specification $spec The other specification. |
||
26 | */ |
||
27 | public function orX(Specification $spec): OrX |
||
31 | |||
32 | /** |
||
33 | * Negate the current specification. |
||
34 | * |
||
35 | * @return Not |
||
36 | */ |
||
37 | public function not(): Not |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getParameters(): array |
||
49 | } |
||
50 |