protected function setCredentials($username, $password) { $this->credentials['username'] = $username; $this->credentials['password'] = $password; }