ontInterface = $ontInterface; $this->rgInterface = $rgInterface; $this->rgEthernetMac = $rgEthernetMac; if (isset($pingHost)) { $this->pingHost = $pingHost; } } /** * Host to ping to check connection. * * @return string */ public function getPingHost(): string { return $this->pingHost; } /** * Network interface connected to the ONT. * * @return string */ public function getOntInterface(): string { return $this->ontInterface; } /** * Network interface connected to the Residential Gateway. * * @return string */ public function getRgInterface(): string { return $this->rgInterface; } /** * Residential Gateway MAC address. * * @return string */ public function getRgEthernetMac(): string { return $this->rgEthernetMac; } }