mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 14:58:33 +00:00
18 lines
332 B
PHP
18 lines
332 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Appwrite\Event;
|
||
|
|
|
||
|
|
use Utopia\Queue\Connection;
|
||
|
|
|
||
|
|
class Webhook extends Event
|
||
|
|
{
|
||
|
|
public function __construct(protected Connection $connection)
|
||
|
|
{
|
||
|
|
parent::__construct($connection);
|
||
|
|
|
||
|
|
$this
|
||
|
|
->setQueue(Event::WEBHOOK_QUEUE_NAME)
|
||
|
|
->setClass(Event::WEBHOOK_CLASS_NAME);
|
||
|
|
}
|
||
|
|
}
|