This commit is contained in:
2021-02-22 17:44:24 +08:00
parent 3b09b9a308
commit 2d1f83cf09
34 changed files with 732 additions and 222 deletions
+14 -1
View File
@@ -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];
}
}