for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* SocialConnect project
* @author: Patsura Dmitry https://github.com/ovr <[email protected]>
*/
namespace SocialConnect\Common;
use Psr\Http\Client\ClientInterface;
trait HttpClient
{
* @var ClientInterface
protected $httpClient;
public function setHttpClient(ClientInterface $httpClient)
$this->httpClient = $httpClient;
}
* @return ClientInterface
public function getHttpClient()
return $this->httpClient;