Example #1
0
 /**
  * Determine if the model has any validation errors.
  *
  * @return boolean
  */
 public function hasErrors()
 {
     return $this->errors->any();
 }