Exemple #1
0
 protected function rule()
 {
     $rule = parent::rule();
     //        $rule->arrays[0]['file']->arrays[0]['name']->ospatterns('*.js');
     return $rule;
 }
Exemple #2
0
 protected function rule()
 {
     $rule = parent::rule();
     $rule->arrays[0]['name']->min(0);
     return $rule;
 }