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