2023-04-15 23:29:27 +08:00
|
|
|
<?php
|
2023-04-16 01:24:30 +08:00
|
|
|
declare(strict_types=1);
|
2023-04-15 23:29:27 +08:00
|
|
|
|
2023-04-16 20:36:47 +08:00
|
|
|
namespace Kiri\Router\Annotate;
|
2023-04-15 23:29:27 +08:00
|
|
|
|
|
|
|
|
|
2023-12-18 22:23:17 +08:00
|
|
|
use Kiri\Di\Interface\InjectMethodInterface;
|
2023-12-18 21:55:44 +08:00
|
|
|
|
2023-04-15 23:29:27 +08:00
|
|
|
#[\Attribute(\Attribute::TARGET_METHOD)]
|
2023-12-18 22:23:17 +08:00
|
|
|
class Interceptor implements InjectMethodInterface
|
2023-04-15 23:29:27 +08:00
|
|
|
{
|
|
|
|
|
|
2023-12-18 21:55:44 +08:00
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2023-12-18 22:23:17 +08:00
|
|
|
* @param string $class
|
2023-12-18 21:55:44 +08:00
|
|
|
* @param string $method
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2023-12-18 22:23:17 +08:00
|
|
|
public function dispatch(string $class, string $method): void
|
2023-12-18 21:55:44 +08:00
|
|
|
{
|
|
|
|
|
// TODO: Implement dispatch() method.
|
|
|
|
|
}
|
2023-04-15 23:29:27 +08:00
|
|
|
|
|
|
|
|
}
|