定制 tmsolution/classmapper-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-14