all() 공개 메소드

Get all models.
public all ( ) : mixed
리턴 mixed
예제 #1
0
 /**
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function index()
 {
     $invoices = $this->invoicesTransform->transform($this->repo->all());
     return view('invoices', compact('invoices'));
 }
예제 #2
0
 /**
  * Find all the entries
  * @return array
  */
 public function all()
 {
     return $this->model->all();
 }