Пример #1
0
 /**
  * @return string
  */
 private function ExtractWebhook()
 {
     $webhooks = $this->m_webhookCollection->GetWebhooks();
     $ret = "";
     foreach ($webhooks as $webhook) {
         $ret .= "{$this->RenderWebHook($webhook)}";
     }
     return $ret;
 }
Пример #2
0
 /**
  * @param \model\WebhookCollection $w
  * @return \model\Webhook|null
  */
 public function GetWebhookBySha(\model\WebhookCollection $w)
 {
     return $w->GetWebHookByIdOfCommits($this->ReadValueFromKeyInGET($this->GetShaKey()));
 }