public function Client::getClient in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/fabpot/goutte/Goutte/Client.php \Goutte\Client::getClient()
File
- vendor/
fabpot/ goutte/ Goutte/ Client.php, line 44
Class
- Client
- Client.
Namespace
GoutteCode
public function getClient() {
if (!$this->client) {
$this->client = new GuzzleClient(array(
'defaults' => array(
'allow_redirects' => false,
'cookies' => true,
),
));
}
return $this->client;
}