You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
361 B
21 lines
361 B
<?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;
|
|
}
|
|
}
|
|
|