| 1 | <?php |
||
| 4 | class Match extends AbstractRule |
||
| 5 | { |
||
| 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 = array( |
||
| 13 | 0 => self::OPTION_ITEM |
||
| 14 | ); |
||
| 15 | |||
| 16 | 3 | public function validate($value, $valueIdentifier = null) |
|
| 27 | } |
||
| 28 |