This commit is contained in:
2023-12-18 22:23:17 +08:00
parent 7c0ab8c639
commit a51b666303
13 changed files with 67 additions and 141 deletions
+4 -5
View File
@@ -4,11 +4,10 @@ declare(strict_types=1);
namespace Kiri\Router\Annotate;
use Kiri\Router\Interface\InjectRouteInterface;
use ReflectionClass;
use Kiri\Di\Interface\InjectMethodInterface;
#[\Attribute(\Attribute::TARGET_METHOD)]
class Interceptor implements InjectRouteInterface
class Interceptor implements InjectMethodInterface
{
public function __construct()
@@ -17,11 +16,11 @@ class Interceptor implements InjectRouteInterface
/**
* @param ReflectionClass $class
* @param string $class
* @param string $method
* @return void
*/
public function dispatch(ReflectionClass $class, string $method): void
public function dispatch(string $class, string $method): void
{
// TODO: Implement dispatch() method.
}