Exemple #1
0
 protected function validateIdentical($input)
 {
     if (is_array($input)) {
         return end($input) === $this->params['endValue'];
     }
     return \rock\helpers\StringHelper::endsWith($input, $this->params['endValue'], true);
 }