swoole-framwork/core/annotations/Bean.php

13 lines
176 B
PHP
Raw Permalink Normal View History

2024-05-20 11:51:07 +08:00
<?php
//类注释 Bean只能打在类上 用于类的自动加载
namespace Core\annotations;
/**
* @Annotation
* @Target({"CLASS"})
*/
class Bean
{
2024-05-21 14:33:56 +08:00
public $name;
2024-05-20 11:51:07 +08:00
}