mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 16:25:36 +08:00
19 lines
319 B
PHP
19 lines
319 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
namespace Custom\Annotation;
|
||
|
|
|
||
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
||
|
|
use ZM\Annotation\Interfaces\CustomAnnotation;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Class CustomAnnotation
|
||
|
|
* @Annotation
|
||
|
|
* @Target("ALL")
|
||
|
|
* @package Custom\Annotation
|
||
|
|
*/
|
||
|
|
class Example implements CustomAnnotation
|
||
|
|
{
|
||
|
|
/** @var string */
|
||
|
|
public $str;
|
||
|
|
}
|