mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
* Remove old event system & Convert renderPost event * Remove old event system * Misc * Convert Custom Pages to use new event system * Change RenderPost to RenderContent * Convert profile posts and messaging * All events converted * Fixes * Fixes * Add tag support in Profile Posts & Messaging * Execute rendercreate for profile post reply * Update webhooks * Remove return function * Remove array response * Remove more array response * Remove fallback webhooks * Test phpstan * Fix phpdoc * Remove name() & description()
10 lines
252 B
PHP
10 lines
252 B
PHP
<?php
|
|
|
|
interface WebhookDispatcher
|
|
{
|
|
/**
|
|
* @param AbstractEvent $event Event to execute
|
|
* @param string $webhook_url Webhook URL to use
|
|
*/
|
|
public static function execute(AbstractEvent $event, string $webhook_url);
|
|
}
|