2017 © Pedro Peláez
 

symfony-bundle flush-on-kernel-terminate-bundle

Just add a listener to automatically flush non-flushed entities after the response has been sent.

image

alcalyn/flush-on-kernel-terminate-bundle

Just add a listener to automatically flush non-flushed entities after the response has been sent.

  • Tuesday, September 2, 2014
  • by alcalyn
  • Repository
  • 0 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

FlushOnKernelTerminateBundle

Just execute EntityManager::flush() on kernel terminate., (*1)

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., (*2)

Installation

Step 1: Download using composer

``` js { "require": { "alcalyn/flush-on-kernel-terminate": "1.x" } }, (*3)


Update your composer. ``` bash php composer.phar update

Step 2: Register the Bundle

``` php <?php // app/AppKernel.php, (*4)

public function registerBundles() { $bundles = array( // ... new Alcalyn\FlushOnKernelTerminateBundle\AlcalynFlushOnKernelTerminateBundle(), ); } ```, (*5)

License

This bundle is under the MIT license. See the complete license:, (*6)

Resources/meta/LICENSE, (*7)

The Versions

02/09 2014

dev-master

9999999-dev http://github.com/alcalyn/flush-on-kernel-terminate-bundle

Just add a listener to automatically flush non-flushed entities after the response has been sent.

  Sources   Download

MIT

The Requires

 

symfony2 optimization

02/09 2014

v0.9.1

0.9.1.0 http://github.com/alcalyn/flush-on-kernel-terminate-bundle

Just add a listener to automatically flush non-flushed entities after the response has been sent.

  Sources   Download

MIT

The Requires

 

symfony2 optimization

21/08 2014

0.9

0.9.0.0

Just add a listener to automatically flush non-flushed entities after the response has been sent.

  Sources   Download

MIT

The Requires

 

symfony2 optimization