| 1 | <?php |
||
| 8 | class NotSpecification implements Specification |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Specification |
||
| 12 | */ |
||
| 13 | private $negatedSpecification; |
||
| 14 | |||
| 15 | 12 | public function __construct(Specification $specificationToNegate) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Alchemy\Resource\Resource $resource |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | 8 | public function isSatisfiedBy(Resource $resource) |
|
| 28 | } |
||
| 29 |