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

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