| 1 | <?php |
||
| 5 | class Matching extends AbstractRule |
||
| 6 | { |
||
| 7 | const OPTION_ITEM = 'item'; |
||
| 8 | |||
| 9 | const MESSAGE = 'This input does not match {item}'; |
||
| 10 | const LABELED_MESSAGE = '{label} does not match {item}'; |
||
| 11 | |||
| 12 | protected $optionsIndexMap = [ |
||
| 13 | 0 => self::OPTION_ITEM |
||
| 14 | ]; |
||
| 15 | |||
| 16 | 5 | public function validate($value, string $valueIdentifier = null):bool |
|
| 27 | } |
||
| 28 |