/home/techb158/immovalet.com/platform/core/js-validation/src/Support
NameSizeModeActions
AccessProtectedTrait.php13070644editdlrm
DelegatedValidator.php45250644editdlrm
RuleListTrait.php27880644editdlrm
UseDelegatedValidatorTrait.php6530644editdlrm
ValidationRuleParserProxy.php15240644editdlrm
Edit: /home/techb158/immovalet.com/platform/core/js-validation/src/Support/ValidationRuleParserProxy.php (1524B)
parser = new ValidationRuleParser((array)$data); $this->parserMethod = $this->createProtectedCaller($this->parser); } /** * Extract the rule name and parameters from a rule. * * @param array|string $rules * @return array */ public function parse($rules) { return $this->parser->parse($rules); } /** * Explode the rules into an array of explicit rules. * * @param array $rules * @return mixed */ public function explodeRules($rules) { return $this->callProtected($this->parserMethod, 'explodeRules', [$rules]); } /** * Delegate method calls to parser instance. * * @param string $method * @param mixed $params * @return mixed */ public function __call($method, $params) { $arrCaller = [$this->parser, $method]; return call_user_func_array($arrCaller, $params); } }