update
This commit is contained in:
1 parent
d7e8df6876
commit
40de56c27b
5119 files changed
+552560
-24
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
<?= "<?php\n" ?>
|
||||
|
||||
namespace <?= $namespace; ?>;
|
||||
|
||||
<?= $use_statements; ?>
|
||||
|
||||
class <?= $class_name ?> implements EventSubscriberInterface
|
||||
{
|
||||
public function <?= $method_name ?>(<?= $event_arg ?>): void
|
||||
{
|
||||
// ...
|
||||
}
|
||||
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
return [
|
||||
<?= $event ?> => '<?= $method_name ?>',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user