xi tag-bundle

此包的最新版本(dev-master)没有可用的许可证信息。

Xi Tag Bundle

安装: 719

依赖者: 2

建议者: 0

安全: 0

星星: 2

关注者: 1

分叉: 2

公开问题: 2

类型:symfony-bundle

dev-master 2013-06-17 10:41 UTC

This package is not auto-updated.

Last update: 2024-09-14 11:55:53 UTC


README

标签包为Symfony 2项目内的不同单元提供标签功能。标签是通过选择器包实现的。

依赖项

xi-bundle-selector

安装

deps -file

[XiSelectorBundle]
    git=http://github.com/xi-project/xi-bundle-selector.git
    target=/bundles/Xi/Bundle/SelectorBundle

[XiTagBundle]
    git=http://github.com/xi-project/xi-bundle-tag.git
    target=/bundles/Xi/Bundle/TagBundle

autoload.php 文件

<?php
'Xi\\Bundle'       => __DIR__.'/../vendor/bundles',
?>

appKernel.php -file

<?php
            new Xi\Bundle\SelectorBundle\XiSelectorBundle(),
            new Xi\Bundle\TagBundle\XiTagBundle(),
 ?>

routing.yml -file

XiTagBundle:
    resource: "@XiTagBundle/Resources/config/routing.yml"
    prefix:   /