Exemple #1
0
 public function insert($key, Errors $errors)
 {
     if ($errors->any()) {
         if (empty($key)) {
             $this->combine($errors);
         } else {
             $this[$key] = $errors;
         }
     }
 }