symfony-cmf/object-info-bundle
Composer 安装命令:
composer require symfony-cmf/object-info-bundle
包简介
Allows the mapping and retrieval of arbitraey metadata to object classes
README 文档
README
This bundle is part of the Symfony Content Management Framework (CMF) and licensed under the MIT License.
This bundle allows you to access inferred information from objects, for example:
$object = new Product(); // ... $objectInfoManager->provideInfo($object); echo $info['route']['edit']; // http://path/to/edit?id=123 echo $info['title']; // "My product title" echo $info['icon']; // /path/to/icon.png
Requirements
- Symfony 2.2.x
- See also the
requiresection of composer.json
Documentation
Not yet.
- All Symfony CMF documentation - complete Symfony CMF reference
- Symfony CMF Website - introduction, live demo, support and community links
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests.
Thanks to everyone who has contributed already.
Running the tests
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-27