| 1 | <?php |
||
| 18 | class NotSpecification extends Specification |
||
|
|
|||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var SpecificationInterface |
||
| 22 | */ |
||
| 23 | protected $specification; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param SpecificationInterface $specification |
||
| 27 | */ |
||
| 28 | public function __construct(SpecificationInterface $specification) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function evaluate($value) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return \Cubiche\Core\Specification\SpecificationInterface |
||
| 43 | */ |
||
| 44 | public function specification() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function not() |
||
| 56 | } |
||
| 57 |