rodbox/rodboxbolt

RB版本的螺栓。从不同来源构建input的路径构造器。

安装: 4

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放性问题: 0

类型:symfony-bundle

dev-master 2016-11-04 15:25 UTC

This package is auto-updated.

Last update: 2024-09-25 07:32:17 UTC


README

RB版本的螺栓。从不同来源构建input的路径构造器。

路由

rb_bolt:
    resource: "@RBBoltBundle/Controller/"
    type:     annotation
    prefix:   /

配置

    - { resource: "@RBBoltBundle/Resources/config/services.yml" }

AppKernel.php

 public function registerBundles()
    {
        $bundles = [
           ...
            new RB\BoltBundle\RBBoltBundle(),

重要:创建文件

  • /app/config/rb_config.yml
  • /app/config/rb_config.yml.dist 它们必须包含绝对链接和RB应用的不同目录和文件的URL。