tmsolution/classmapper-bundle
最新稳定版本:v1.0.6
Composer 安装命令:
composer require tmsolution/classmapper-bundle
包简介
Symfony2 bundle for classmapper
关键字:
README 文档
README
by Damian Piela damian.piela@tmsolution.pl
Description
TMSolution ClassMapperBundle is a tool for mapping class names to more friendly equivalents.
Configuration
To use the bundle, update your composer.json:
//composer require
...
"tmsolution/classmapper-bundle": "~1.0"
and enable it in the AppKernel.php:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Core\ClassMapperBundle\CoreClassMapperBundle()
);
}
Also, change your config.yml file similarly to the provided example:
core_class_mapper:
languages:
pl:
pl_friendly_name: Entity\Class\Name
en:
en_friendly_name: Entity\Class\Name
统计信息
- 总下载量: 205
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-14