public function Client::setAuth in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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;
}