REBELinBLUE\Deployer\Contracts\Repositories\TemplateRepositoryInterface::getAll PHP Method

getAll() public method

public getAll ( ) : Illuminate\Database\Eloquent\Collection
return Illuminate\Database\Eloquent\Collection
    public function getAll();

Usage Example

 /**
  * Shows all templates.
  *
  * @return \Illuminate\View\View
  */
 public function index()
 {
     $templates = $this->templateRepository->getAll();
     return view('admin.templates.listing', ['title' => Lang::get('templates.manage'), 'templates' => $templates->toJson()]);
 }
All Usage Examples Of REBELinBLUE\Deployer\Contracts\Repositories\TemplateRepositoryInterface::getAll