public function setBasicAuthentication($username, $password)
    {
        $this->basicAuthCredentials = implode(':', [$username, $password]);
        $this->curl->setBasicAuthentication($username, $password);
    }
public function setBasicAuthentication($username, $password)
    {
        $this->basicAuthCredentials = implode(':', [$username, $password]);
        $this->curl->setBasicAuthentication($username, $password);
    }
public function setBasicAuthentication ( $ username , $ password ) { $ this -> basicAuthCredentials = implode ( ':' , [ $ username , $ password ] ) ; $ this -> curl -> setBasicAuthentication ( $ username , $ password ) ; }
Set basic authentication

@param string $username
@param string $password

@return void
Set basic authentication