public function all(array $params = array())
    {
        $endpoint = '/admin/collects.json';
        $data = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Collect::class, $data['collects']);
    }
public function all(array $params = array())
    {
        $endpoint = '/admin/collects.json';
        $data = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Collect::class, $data['collects']);
    }
public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/collects.json' ; $ data = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Collect :: class , $ data [ 'collects' ] ) ; }
Receive a list of all collects

@link   https://help.shopify.com/api/reference/collect#index
@param  array $params
@return Collect[]
Receive a list of all collects