You are here

RequestService.php in Entity Share 8.2

File

modules/entity_share_client/src/Service/RequestService.php
View source
<?php

declare (strict_types=1);
namespace Drupal\entity_share_client\Service;

use GuzzleHttp\Client;

/**
 * Class RequestService.
 *
 * @package Drupal\entity_share_client\Service
 */
class RequestService implements RequestServiceInterface {

  /**
   * {@inheritdoc}
   */
  public function request(Client $http_client, $method, $url) {
    return $http_client
      ->request($method, $url);
  }

}

Classes

Namesort descending Description
RequestService Class RequestService.