HttpClientTrait.php
382 Bytes
<?php
namespace WeWork\Traits;
use WeWork\Http\HttpClientInterface;
trait HttpClientTrait
{
/**
* @var HttpClientInterface
*/
protected $httpClient;
/**
* @param HttpClientInterface $httpClient
*/
public function setHttpClient(HttpClientInterface $httpClient): void
{
$this->httpClient = $httpClient;
}
}