Example #1
-1
 public function getWebhook($id = null)
 {
     $webhook = new Webhook();
     $webhook->setParent($this);
     $webhook->setService($this->getService());
     if ($id) {
         $webhook->populate($id);
     }
     return $webhook;
 }