This commit is contained in:
2021-11-30 15:10:01 +08:00
parent e5b57cbcdb
commit b826e1f594
36 changed files with 155 additions and 81 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
<?php
namespace Annotation\Route;
namespace Note\Route;
use Annotation\Attribute;
use Note\Attribute;
/**
* Class Document
* @package Annotation\Route
* @package Note\Route
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class Document extends Attribute
{
+3 -3
View File
@@ -1,16 +1,16 @@
<?php
namespace Annotation\Route;
namespace Note\Route;
use Annotation\Attribute;
use Note\Attribute;
use Http\Handler\Abstracts\MiddlewareManager;
use Psr\Http\Server\MiddlewareInterface;
/**
* Class Middleware
* @package Annotation\Route
* @package Note\Route
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] class Middleware extends Attribute
{
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
namespace Annotation\Route;
namespace Note\Route;
use Annotation\Attribute;
use Note\Attribute;
use Http\Handler\Router;
use Kiri\Kiri;
+3 -3
View File
@@ -1,14 +1,14 @@
<?php
namespace Annotation\Route;
namespace Note\Route;
use Annotation\Attribute;
use Note\Attribute;
/**
* Class Socket
* @package Annotation
* @package Note
*/
#[\Attribute(\Attribute::TARGET_METHOD)] class Socket extends Attribute
{