public function getCurrentUserSubdefsAction(Request $request)
    {
        $ret = [
          "subdefs" => $this->listUserAuthorizedSubdefs($this->getAuthenticatedUser()),
        ];

        return Result::create($request, $ret)->createResponse();
    }
public function getCurrentUserSubdefsAction(Request $request)
    {
        $ret = [
          "subdefs" => $this->listUserAuthorizedSubdefs($this->getAuthenticatedUser()),
        ];

        return Result::create($request, $ret)->createResponse();
    }
public function getCurrentUserSubdefsAction ( Request $ request ) { $ ret = [ "subdefs" => $ this -> listUserAuthorizedSubdefs ( $ this -> getAuthenticatedUser ( ) ) , ] ; return Result :: create ( $ request , $ ret ) -> createResponse ( ) ; }
Returns all sub-definitions available for the user
@param Request $request
@return Response
Returns all sub - definitions available for the user