Esempio n. 1
0
 /**
  * Execute the query and get the first result or throw an exception.
  *
  * @param array $columns
  * @return \Illuminate\Database\Eloquent\Model|static 
  * @throws \Illuminate\Database\Eloquent\ModelNotFoundException
  * @static 
  */
 public static function firstOrFail($columns = array())
 {
     //Method inherited from \Illuminate\Database\Eloquent\Builder
     return \October\Rain\Database\Builder::firstOrFail($columns);
 }