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