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