modify plugin name
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Kiri\Annotation\Route;
|
||||
|
||||
use Kiri\Annotation\Aspect;
|
||||
use Kiri\Error\LoggerAspect;
|
||||
|
||||
class TestController
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
#[RequestMapping(method: Method::REQUEST_GET, path: '/', version: 'v1')]
|
||||
#[Aspect(aspect: LoggerAspect::class)]
|
||||
#[Middleware(middleware: LoggerAspect::class)]
|
||||
public function index()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user