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