public function __construct(Host $host, $dbInstanceKey = null) { $this->host = $host; parent::__construct(null, $dbInstanceKey); $this->hostLangs = static::getHostLanguages($this->host); $this->setCurrentHostLangId(); }