/** * Process Rest * * @return mixed */ protected function processRest() { $restController = new Controller\Rest(); $restController->setCrud(Crud::getInstance()); return $restController(); }
/** * Process Crud * * @return mixed */ protected function processCrud() { $crudController = new Controller\Crud(); $crudController->setCrud(Crud::getInstance()); return $crudController(); }