mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-19 05:34:53 +08:00
25 lines
393 B
PHP
25 lines
393 B
PHP
<?php
|
|
|
|
|
|
namespace ZM\Annotation\Http;
|
|
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Required;
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
use ZM\Annotation\AnnotationBase;
|
|
|
|
/**
|
|
* Class Middleware
|
|
* @package ZM\Annotation\Http
|
|
* @Annotation
|
|
* @Target("ALL")
|
|
*/
|
|
class Middleware extends AnnotationBase
|
|
{
|
|
/**
|
|
* @var string
|
|
* @Required()
|
|
*/
|
|
public $middleware;
|
|
}
|