function getHost() { $info = $this->getInfo(); $hostGetter = new hostGetter(); $host = $hostGetter->getById($info['host_id']); return $host; }