| 1 | <?php |
||
| 8 | class NotSpecification implements Specification |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Specification |
||
| 12 | */ |
||
| 13 | protected $spec; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param Specification $spec |
||
| 17 | */ |
||
| 18 | public function __construct(Specification $spec) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $subject |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | public function isSatisfiedBy($subject) |
||
| 32 | } |
||
| 33 |