Esempio n. 1
0
 public function getModules()
 {
     $modules = Module::all() ?: new Collection();
     return \Response::json($this->apiResponse->setContent($modules->toArray())->toArray());
 }