<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
*
* 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 <[email protected]>
*/
interface GroupManagerInterface extends BaseInterface, PageableManagerInterface
{
/**
* Alias for the repository method.
*
* @param int|null $limit
* @param int|null $offset
*
* @return GroupInterface[]
*/
public function findGroupsBy(array $criteria = null, array $orderBy = null, $limit = null, $offset = null);
}