1 | <?php |
||
21 | final class NotSpecification extends CompositeSpecification |
||
22 | { |
||
23 | /** @var SpecificationInterface */ |
||
24 | private $wrapped; |
||
25 | |||
26 | /** |
||
27 | * Initializes the NotSpecification object |
||
28 | */ |
||
29 | public function __construct(SpecificationInterface $wrapped) |
||
33 | 2 | ||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | */ |
||
37 | public function isSatisfiedBy(array $value) : bool |
||
41 | |||
42 | 2 | /** @inheritDoc */ |
|
43 | public function canBeSatisfiedBySomethingBelow(array $value) : bool |
||
47 | |||
48 | /** @inheritDoc */ |
||
49 | public function willBeSatisfiedByEverythingBelow(array $value) : bool |
||
53 | } |
||
54 |