protected function validateIdentical($input) { if (is_array($input)) { return reset($input) === $this->params['startValue']; } return \rock\helpers\StringHelper::startsWith($input, $this->params['startValue'], true); }