spiral/annotations
最新稳定版本:2.14.1
Composer 安装命令:
composer require spiral/annotations
包简介
Annotations parser using strict node grammar
README 文档
README
Package is deprecated. Please, use spiral/attributes instead
Installation
Service does not require any bootloader and can be enabled in spiral application with simple composer dependency.
$ composer require spiral/annotations
Example
To find all annotated classes:
use Spiral\Annotations; $locator = new Annotations\AnnotationLocator($classLocator); foreach($locator->findClasses(MyAnnotation::class) as $class) { dump($class->getClass()); dump($class->getAnnotation()); }
统计信息
- 总下载量: 33.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-15