@@ -85,31 +85,3 @@ |
||
| 85 | 85 | public function getClassTemplate(): string |
| 86 | 86 | { |
| 87 | 87 | return <<<EOF |
| 88 | - <?php |
|
| 89 | - |
|
| 90 | - declare(strict_types=1); |
|
| 91 | - |
|
| 92 | - namespace %namespace%; |
|
| 93 | - |
|
| 94 | - use Platine\Http\Handler\RequestHandlerInterface; |
|
| 95 | - use Platine\Http\ResponseInterface; |
|
| 96 | - use Platine\Http\ServerRequestInterface; |
|
| 97 | - |
|
| 98 | - /** |
|
| 99 | - * @class %classname% |
|
| 100 | - * @package %namespace% |
|
| 101 | - */ |
|
| 102 | - class %classname% implements RequestHandlerInterface |
|
| 103 | - { |
|
| 104 | - |
|
| 105 | - /** |
|
| 106 | - * {@inheritodc} |
|
| 107 | - */ |
|
| 108 | - public function handle(ServerRequestInterface \$request): ResponseInterface |
|
| 109 | - { |
|
| 110 | - } |
|
| 111 | - } |
|
| 112 | - |
|
| 113 | - EOF; |
|
| 114 | - } |
|
| 115 | -} |
|