2021-03-03 18:35:04 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Annotation;
|
|
|
|
|
|
|
|
|
|
|
2021-03-05 17:11:47 +08:00
|
|
|
use Annotation\Route\After;
|
|
|
|
|
use Annotation\Route\Interceptor;
|
|
|
|
|
use Annotation\Route\Limits;
|
|
|
|
|
use Annotation\Route\Middleware as RMiddleware;
|
|
|
|
|
use HttpServer\Route\Node;
|
|
|
|
|
use ReflectionException;
|
|
|
|
|
use Snowflake\Exception\ComponentException;
|
|
|
|
|
use Snowflake\Exception\NotFindClassException;
|
2021-03-03 18:35:04 +08:00
|
|
|
use Snowflake\Snowflake;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class Attribute
|
|
|
|
|
* @package Annotation
|
|
|
|
|
*/
|
|
|
|
|
abstract class Attribute implements IAnnotation
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-03 03:48:52 +08:00
|
|
|
public function execute(mixed $class, mixed $method = ''): mixed
|
|
|
|
|
{
|
|
|
|
|
// TODO: Implement execute() method.
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2021-03-05 17:11:47 +08:00
|
|
|
|
2021-03-03 18:35:04 +08:00
|
|
|
}
|