| 1 | <?php |
||
| 20 | final class NotSpecification extends CompositeSpecification |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var SpecificationInterface |
||
| 24 | */ |
||
| 25 | private $wrapped; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Initializes the NotSpecification object |
||
| 29 | */ |
||
| 30 | 2 | public function __construct(SpecificationInterface $wrapped) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Checks if the value meets the specification |
||
| 37 | * |
||
| 38 | * @param mixed[] $value |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | 2 | public function isSatisfiedBy(array $value): bool |
|
| 45 | |||
| 46 | /** @inheritDoc */ |
||
| 47 | public function canBeSatisfiedByAnythingBelow(array $value): bool |
||
| 51 | } |
||
| 52 |