public function Client::setAuth in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/fabpot/goutte/Goutte/Client.php \Goutte\Client::setAuth()
File
- vendor/
fabpot/ goutte/ Goutte/ Client.php, line 65
Class
- Client
- Client.
Namespace
GoutteCode
public function setAuth($user, $password = '', $type = 'basic') {
$this->auth = array(
$user,
$password,
$type,
);
return $this;
}