2020-03-02 16:14:20 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace ZM\Annotation\Http;
|
|
|
|
|
|
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Required;
|
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
|
|
|
use ZM\Annotation\AnnotationBase;
|
2020-08-31 10:11:06 +08:00
|
|
|
use ZM\Annotation\Interfaces\ErgodicAnnotation;
|
2020-03-02 16:14:20 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class Controller
|
|
|
|
|
* @Annotation
|
|
|
|
|
* @Target("CLASS")
|
|
|
|
|
* @package ZM\Annotation\Http
|
|
|
|
|
*/
|
2020-08-31 10:11:06 +08:00
|
|
|
class Controller extends AnnotationBase implements ErgodicAnnotation
|
2020-03-02 16:14:20 +08:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
* @Required()
|
|
|
|
|
*/
|
|
|
|
|
public $prefix = '';
|
2020-08-31 10:11:06 +08:00
|
|
|
}
|