alcalyn/flush-on-kernel-terminate-bundle
Composer 安装命令:
composer require alcalyn/flush-on-kernel-terminate-bundle
包简介
Just add a listener to automatically flush non-flushed entities after the response has been sent.
关键字:
README 文档
README
Just execute EntityManager::flush() on kernel terminate.
If an entity can wait before to be flushed, don't flush it, and let this bundle to flush it after the response has been sent.
Installation
Step 1: Download using composer
{ "require": { "alcalyn/flush-on-kernel-terminate": "1.x" } }
Update your composer.
php composer.phar update
Step 2: Register the Bundle
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Alcalyn\FlushOnKernelTerminateBundle\AlcalynFlushOnKernelTerminateBundle(), ); }
License
This bundle is under the MIT license. See the complete license:
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-21