| 1 | <?php |
||
| 13 | class NoObjectExists extends ObjectExists |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Error constants |
||
| 17 | */ |
||
| 18 | const ERROR_OBJECT_FOUND = 'objectFound'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array Message templates |
||
| 22 | */ |
||
| 23 | protected $messageTemplates = [ |
||
| 24 | self::ERROR_OBJECT_FOUND => "An object matching '%value%' was found", |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | 3 | public function isValid($value) |
|
| 43 | } |
||
| 44 |