public function all(array $params = array())
    {
        $endpoint = '/admin/products.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Product::class, $response['products']);
    }
public function all(array $params = array())
    {
        $endpoint = '/admin/products.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Product::class, $response['products']);
    }
public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/products.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Product :: class , $ response [ 'products' ] ) ; }
Receive a lists of all Products

@link   https://help.shopify.com/api/reference/product#index
@param  array $params
@return Product[]
Receive a lists of all Products