Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alcalyn/flush-on-kernel-terminate-bundle
Just add a listener to automatically flush non-flushed entities after the response has been sent.
https://github.com/alcalyn/flush-on-kernel-terminate-bundle
Last synced: 4 days ago
JSON representation
Just add a listener to automatically flush non-flushed entities after the response has been sent.
- Host: GitHub
- URL: https://github.com/alcalyn/flush-on-kernel-terminate-bundle
- Owner: alcalyn
- Created: 2014-08-21T15:18:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-03T13:47:26.000Z (about 10 years ago)
- Last Synced: 2024-10-11T13:12:28.812Z (28 days ago)
- Language: PHP
- Size: 172 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FlushOnKernelTerminateBundle
============================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
``` js
{
"require": {
"alcalyn/flush-on-kernel-terminate": "1.x"
}
}
```Update your composer.
``` bash
php composer.phar update
```### Step 2: Register the Bundle
``` php