public function __construct(HttpClient $http) { $this->httpClient = $http; $this->loggedIn = false; }