Beispiel #1
0
 /**
  * Adiciona uma mensagem de erro ao Action
  * @param str $text
  */
 protected function addError($text)
 {
     $this->errors->add($text);
 }
Beispiel #2
0
 /**
  * Adiciona um error ao model
  * @param string $text
  */
 public function addError($text)
 {
     $this->error->add($text);
 }