1 | <?php |
||
7 | abstract class LeafSpecification implements Specification |
||
8 | { |
||
9 | abstract public function isSatisfiedBy(Candidate $candidate): bool; |
||
10 | |||
11 | 1 | public function and(Specification $other): Specification |
|
15 | |||
16 | 1 | public function andNot(Specification $other): Specification |
|
20 | |||
21 | 2 | public function or(Specification $other): Specification |
|
25 | |||
26 | 1 | public function orNot(Specification $other): Specification |
|
30 | |||
31 | 1 | public function not(): Specification |
|
35 | } |
||
36 |