Finds a collection set starting by given ID and depth.
public findCollectionSet ( integer $depth, array $filter = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null, array $sortBy = [], Sulu\Component\Security\Authentication\UserInterface $user = null, integer $permission = null ) : |
||
$depth | integer | |
$filter | array | |
$collection | Sulu\Bundle\MediaBundle\Entity\CollectionInterface | |
$sortBy | array | |
$user | Sulu\Component\Security\Authentication\UserInterface | The user for which the additional access control should be checked |
$permission | integer | The permission mask the user requires, if it is passed for the access control check |
return |