コード例 #1
0
ファイル: ClientCached.php プロジェクト: assertis/http-lib
 /**
  * @param GuzzleClient $http
  * @param Memcache $memcache
  */
 public function __construct(GuzzleClient $http, Memcache $memcache)
 {
     parent::__construct($http);
     $this->memcache = $memcache;
 }
コード例 #2
0
ファイル: ClientTest.php プロジェクト: assertis/http-lib
 public function testGetHttp()
 {
     $this->assertSame($this->guzzleClient, $this->client->getGuzzleClient());
 }