GroupManagerInterface.php 935 B

12345678910111213141516171819202122232425262728293031323334
  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\GroupInterface;
  12. use FOS\UserBundle\Model\GroupManagerInterface as BaseInterface;
  13. use Sonata\CoreBundle\Model\PageableManagerInterface;
  14. /**
  15. * @author Hugo Briand <briand@ekino.com>
  16. */
  17. interface GroupManagerInterface extends BaseInterface, PageableManagerInterface
  18. {
  19. /**
  20. * Alias for the repository method.
  21. *
  22. * @param array|null $criteria
  23. * @param array|null $orderBy
  24. * @param int|null $limit
  25. * @param int|null $offset
  26. *
  27. * @return GroupInterface[]
  28. */
  29. public function findGroupsBy(array $criteria = null, array $orderBy = null, $limit = null, $offset = null);
  30. }