initial commit
This commit is contained in:
14
vendor/symfony/maker-bundle/templates/middleware/Middleware.tpl.php
vendored
Normal file
14
vendor/symfony/maker-bundle/templates/middleware/Middleware.tpl.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?= "<?php\n" ?>
|
||||
|
||||
namespace <?= $namespace; ?>;
|
||||
|
||||
<?= $use_statements; ?>
|
||||
|
||||
final class <?= $class_name; ?> implements MiddlewareInterface
|
||||
{
|
||||
public function handle(Envelope $envelope, StackInterface $stack): Envelope
|
||||
{
|
||||
// ...
|
||||
return $stack->next()->handle($envelope, $stack);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user