for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ps2alerts\Api\Contract;
use GuzzleHttp\Client;
trait HttpClientAwareTrait
{
/**
* @var \GuzzleHttp\Client
*/
protected $httpClient;
* Sets the http client
*
* @param \GuzzleHttp\Client $httpClient
public function setHttpClientDriver(Client $httpClient)
$this->httpClient = $httpClient;
}
* Gets the http client
* @return \GuzzleHttp\Client
public function getHttpClientDriver()
return $this->httpClient;