Sulu\Bundle\ResourceBundle\Controller\OperatorController::cgetAction PHP Method

cgetAction() public method

public cgetAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response
    public function cgetAction(Request $request)
    {
        $locale = $this->getRequestParameter($request, 'locale', true);
        $list = new CollectionRepresentation($this->getManager()->findAllByLocale($locale), self::$entityKey);
        $view = $this->view($list, 200);
        return $this->handleView($view);
    }
OperatorController