Warning: Undefined variable $namespace in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\webhook\WebhookConsumer.tpl.php on line 3
;
use Symfony\Component\RemoteEvent\Attribute\AsRemoteEventConsumer;
use Symfony\Component\RemoteEvent\Consumer\ConsumerInterface;
use Symfony\Component\RemoteEvent\RemoteEvent;
#[AsRemoteEventConsumer('
Warning: Undefined variable $webhook_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\webhook\WebhookConsumer.tpl.php on line 9
')]
final class
Warning: Undefined variable $class_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\webhook\WebhookConsumer.tpl.php on line 10
implements ConsumerInterface
{
public function __construct()
{
}
public function consume(RemoteEvent $event): void
{
// Implement your own logic here
}
}