Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface::get PHP Method

get() public method

Returns collections with a given parent and/or a given depth-level if no arguments passed returns all collection.
public get ( integer $locale, array $filter = [], integer $limit = null, integer $offset = null, array $sortBy = [] ) : Doctrine\ORM\Tools\Pagination\Paginator
$locale integer the locale which the collection should be return
$filter array for parent or depth
$limit integer limit the output
$offset integer offset the output
$sortBy array sort by e.g. array('title' => 'ASC')
return Doctrine\ORM\Tools\Pagination\Paginator
    public function get($locale, $filter = [], $limit = null, $offset = null, $sortBy = []);