Перенес функции в класс
This commit is contained in:
parent
5e1362d103
commit
5e6d39d638
8 changed files with 488 additions and 491 deletions
|
|
@ -77,7 +77,7 @@ class Validator_Validator
|
|||
}
|
||||
}
|
||||
|
||||
public function skip($rule, $container) // -> Rule_Abstract
|
||||
public function skip(/*.Validator_Rule_Abstract.*/$rule, /*.Collection.*/$container) // -> Rule_Abstract
|
||||
{
|
||||
if ($rule->skipEmpty()) {
|
||||
$data = $container->get($rule->field);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue