| 1 | <?php |
||
| 25 | class Not extends AbstractAnnotationSpecifiedValidator |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * The validator to negate. |
||
| 29 | * |
||
| 30 | * @var \Mcustiel\SimpleRequest\Interfaces\ValidatorInterface |
||
| 31 | */ |
||
| 32 | private $validator; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | * |
||
| 37 | * @see \Mcustiel\SimpleRequest\Validator\AbstractAnnotationSpecifiedValidator::setSpecification() |
||
| 38 | */ |
||
| 39 | 79 | public function setSpecification($specification = null) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | * |
||
| 47 | * @see \Mcustiel\SimpleRequest\Validator\AbstractAnnotationSpecifiedValidator::validate() |
||
| 48 | */ |
||
| 49 | 80 | public function validate($value) |
|
| 53 | } |
||
| 54 |