src/Bigcommerce/Api/Client.php
public static function getCategories($filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCollection('/categories' . $filter->toQuery(), 'Category');
    }
public static function getCategories($filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCollection('/categories' . $filter->toQuery(), 'Category');
    }
public static function getCategories ( $ filter = array ( ) ) { $ filter = Filter :: create ( $ filter ) ; return self :: getCollection ( '/categories' . $ filter -> toQuery ( ) , 'Category' ) ; }
The collection of categories.

@param array $filter
@return array
The collection of categories .