getUser($request))) { throw new AuthorizationFailedException(); } $terms = \ContentTermsOfUse::findBySql('1'); list($offset, $limit) = $this->getOffsetAndLimit(); return $this->getPaginatedContentResponse( array_slice($terms, $offset, $limit), count($terms) ); } }