update
This commit is contained in:
1 parent
d7e8df6876
commit
40de56c27b
5119 files changed
+552560
-24
No files matched your search
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
<?= "<?php\n" ?>
|
||||
|
||||
namespace <?= $namespace; ?>;
|
||||
|
||||
use Symfony\Component\RemoteEvent\Attribute\AsRemoteEventConsumer;
|
||||
use Symfony\Component\RemoteEvent\Consumer\ConsumerInterface;
|
||||
use Symfony\Component\RemoteEvent\RemoteEvent;
|
||||
|
||||
#[AsRemoteEventConsumer('<?= $webhook_name ?>')]
|
||||
final class <?= $class_name ?> implements ConsumerInterface
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function consume(RemoteEvent $event): void
|
||||
{
|
||||
// Implement your own logic here
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user