UserManagerInterface.php 890 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /*
  3. * This file is part of the Sonata Project package.
  4. *
  5. * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Sonata\UserBundle\Model;
  11. use FOS\UserBundle\Model\UserManagerInterface as BaseInterface;
  12. use Sonata\CoreBundle\Model\PageableManagerInterface;
  13. /**
  14. * @author Hugo Briand <briand@ekino.com>
  15. */
  16. interface UserManagerInterface extends BaseInterface, PageableManagerInterface
  17. {
  18. /**
  19. * Alias for the repository method.
  20. *
  21. * @param array|null $criteria
  22. * @param array|null $orderBy
  23. * @param int|null $limit
  24. * @param int|null $offset
  25. *
  26. * @return UserInterface[]
  27. */
  28. public function findUsersBy(array $criteria = null, array $orderBy = null, $limit = null, $offset = null);
  29. }