public function __construct($host, $username = null) { $this->setHost($host); $this->setUsername($username); }