改名
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
namespace Annotation\Route;
|
||||
|
||||
|
||||
use Annotation\IAnnotation;
|
||||
|
||||
/**
|
||||
* Class Document
|
||||
* @package Annotation\Route
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_METHOD)] class Document
|
||||
#[\Attribute(\Attribute::TARGET_METHOD)] class Document implements IAnnotation
|
||||
{
|
||||
|
||||
const INTEGER = 'int';
|
||||
@@ -31,4 +33,15 @@ namespace Annotation\Route;
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param array $handler
|
||||
* @return array
|
||||
*/
|
||||
public function execute(array $handler): array
|
||||
{
|
||||
// TODO: Implement execute() method.
|
||||
return [$this->request, $this->response];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user