Пример #1
0
 /**
  * Add a host to monitoring
  */
 public function removeFromMonitoring()
 {
     $monitoringObject = new Monitoring();
     return $monitoringObject->removeHost($this->slugName(), $this->ip());
 }
Пример #2
0
 public function test()
 {
     // Use this to see all hosts
     $monitoringObject = new Monitoring();
     dd($monitoringObject->getHosts());
 }