1 | <?php |
||
18 | trait SpecificationTrait |
||
19 | { |
||
20 | /** |
||
21 | * @param string $method |
||
22 | * @param array $arguments |
||
23 | * |
||
24 | * @throws \BadMethodCallException |
||
25 | */ |
||
26 | public function __call($method, array $arguments) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function andX(SpecificationInterface $specification) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function orX(SpecificationInterface $specification) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function not() |
||
58 | } |
||
59 |