2017 © Pedro Peláez
 

library zf2-doctrine2-autoflush

image

25th/zf2-doctrine2-autoflush

  • Thursday, July 31, 2014
  • by dready
  • Repository
  • 8 Watchers
  • 1 Stars
  • 8,324 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

ZF2 Doctrine2 AutoFlushListener

Installation

Just attach an instance of the AutoFlushListener to the event manager like in the following code example:, (*1)

class Module
{
    /**
     * @param MvcEvent $e MVC Event
     */
    public function onBootstrap(MvcEvent $e)
    {
        $eventManager = $e->getApplication()->getEventManager();
        $eventManager->attachAggregate(new AutoFlushListener());
    }
}

The Versions

31/07 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Martin Prebio