mouf/utils.common.doctrine-annotations-wrapper
最新稳定版本:v1.2.0
Composer 安装命令:
composer require mouf/utils.common.doctrine-annotations-wrapper
包简介
Provide an install script for a Doctrine's AnnotationReader in Mouf Framework.
README 文档
README
Provides an install script for Doctrine's AnnotationReader in Mouf Framework.
Content of the package
This package contains an install script that provides a Doctrine's AnnotationReader instance in a Mouf project.
This instance is called annotationReader.
By default, it is configured as the following:
- You don't have to register annotations using the
AnnotationRegistry. Indeed, the autoloader of Composer is directly used and therefore, any class accessible through Composer can be a valid Annotation. - The annotation reader stored in
annotationReaderinstance requires annotations to exist. It will throw an exception if an annotation is not found. - Annotations must be fully qualified.
Installation
To install the package, just add its latest version to your composer.json (see the package in the packagist website) adn run the php composer.phar update.
Then in Mouf validation process, a new task should be marked as To run, launch the installation process and you will have your annotationReader instance ready to use!
统计信息
- 总下载量: 89.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-04-22