src/Client.php
/**
     * Creates a new web hook
     *
     * @param Model\WebHook $webHook The web hook which should be created
     * @return Model\WebHook The created web hook
     *
     * @throws QuotaExceededException If the maximum number of calls per second exceeded
     * @throws Exception If the response cannot be parsed
     */
Creates a new web hook
@param Model\WebHook $webHook The web hook which should be created
@return Model\WebHook The created web hook

@throws QuotaExceededException If the maximum number of calls per second exceeded
@throws Exception If the response cannot be parsed
Creates a new web hook @param Model \ WebHook $webHook The web hook which should be created @return Model \ WebHook The created web hook @throws QuotaExceededException If the maximum number of calls per second exceeded @throws Exception If the response cannot be parsed
public function createWebHook(Model\WebHook $webHook)
    {
        return $this->requestPOST(
            'webhooks',
            $this->jom->serialize($webHook),
            Model\WebHook::class
        );
    }
public function createWebHook ( Model \ WebHook $ webHook ) { return $ this -> requestPOST ( 'webhooks' , $ this -> jom -> serialize ( $ webHook ) , Model \ WebHook :: class ) ; }
Creates a new web hook
 @param Model\WebHook $webHook The web hook which should be created
 @return Model\WebHook The created web hook
Creates a new web hook @param Model \ WebHook $webHook The web hook which should be created @return Model \ WebHook The created web hook