示例#1
0
文件: Model.php 项目: nerea91/laravel
 /**
  * Determine if the model has any validation errors.
  *
  * @return boolean
  */
 public function hasErrors()
 {
     return $this->errors->any();
 }