username = $username; $this->password = $password; } protected function getPath($path,$method) { return sprintf($path, $method); } }