kronhyx / base-bundle
此包已 废弃 且不再维护。未建议替代包。
自定义 symfony 函数
dev-master
2018-03-13 20:23 UTC
Requires
- doctrine/orm: ^2
- knplabs/knp-menu-bundle: ^2.0
This package is auto-updated.
Last update: 2020-02-12 01:54:03 UTC
README
此扩展包生成所有继承它的扩展包的主要方法。
安装
步骤 1: 下载扩展包
$ composer require kronhyx/base-bundle
此命令要求您已全局安装 Composer,如 composer 文档中所述。
步骤 2: 激活扩展包
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new \Kronhyx\BaseBundle\KronhyxBaseBundle(), ); } // ... }