<?php /** * Example of REST controllers for GET method * * @category Application * * @author Anton Shevchuk * @created 19.02.15 16:27 */ namespace Application; use Application\Test; use Bluz\Controller; return function () { $restController = new Controller\Rest(); $restController->setCrud(Test\Crud::getInstance()); return $restController->methodGet(); };