12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /*
- * This file is part of the Sonata Project package.
- *
- * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Sonata\UserBundle\Document;
- use FOS\UserBundle\Document\UserManager as BaseUserManager;
- use Sonata\DatagridBundle\Pager\PagerInterface;
- use Sonata\UserBundle\Model\UserManagerInterface;
- /**
- * @author Hugo Briand <briand@ekino.com>
- */
- class UserManager extends BaseUserManager implements UserManagerInterface
- {
- /**
- * {@inheritdoc}
- */
- public function findUsersBy(array $criteria = null, array $orderBy = null, $limit = null, $offset = null)
- {
- return $this->repository->findBy($criteria, $orderBy, $limit, $offset);
- }
- /**
- * @param array $criteria
- * @param int $page
- * @param int $limit
- * @param array $sort
- *
- * @return PagerInterface
- */
- public function getPager(array $criteria, $page, $limit = 10, array $sort = array())
- {
- new \RuntimeException('method not implemented');
- }
- }
|