aboutcoders / sequence-bundle
一个提供抽象序列实现的symfony包
1.0.5
2020-05-22 08:49 UTC
Requires
- gedmo/doctrine-extensions: ~2.0
- sensio/framework-extra-bundle: ~3.0
- symfony/symfony: ~2.5|~3.0
Requires (Dev)
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3
- phpunit/phpunit: ~4.2
- symfony/monolog-bundle: ~2
- symfony/swiftmailer-bundle: ~2.3
This package is not auto-updated.
Last update: 2024-09-27 05:14:03 UTC
README
一个提供抽象序列实现的symfony包
配置
添加包
{ "require": { "aboutcoders/sequence-bundle": "dev-master" } }
在内核中启用包
# app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Abc\Bundle\SequenceBundle\AbcSequenceBundle(), // ... ); }
配置包
# app/config/config.yml abc_sequence: db_driver: orm
使用方法
使用序列管理器来使用序列
$container->get('abc.sequence.sequence_manager');