* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\UserBundle\Model; use FOS\UserBundle\Model\GroupInterface; use FOS\UserBundle\Model\GroupManagerInterface as BaseInterface; use Sonata\CoreBundle\Model\PageableManagerInterface; /** * @author Hugo Briand */ interface GroupManagerInterface extends BaseInterface, PageableManagerInterface { /** * Alias for the repository method. * * @param array|null $criteria * @param array|null $orderBy * @param int|null $limit * @param int|null $offset * * @return GroupInterface[] */ public function findGroupsBy(array $criteria = null, array $orderBy = null, $limit = null, $offset = null); }