This commit is contained in:
2023-12-18 21:55:44 +08:00
parent 5ab8cf0812
commit 7c0ab8c639
10 changed files with 93 additions and 64 deletions
+18 -4
View File
@@ -4,12 +4,26 @@ declare(strict_types=1);
namespace Kiri\Router\Annotate;
use Kiri\Router\Interface\InjectRouteInterface;
use ReflectionClass;
#[\Attribute(\Attribute::TARGET_METHOD)]
class Interceptor
class Interceptor implements InjectRouteInterface
{
public function __construct()
{
}
public function __construct()
{
}
/**
* @param ReflectionClass $class
* @param string $method
* @return void
*/
public function dispatch(ReflectionClass $class, string $method): void
{
// TODO: Implement dispatch() method.
}
}