class AutoCommitListener implements EventSubscriber (View source)

Listens for onMigrationsMigrated and, if the conneciton is has autocommit makes sure to do the final commit to ensure changes stick around.

Methods

getSubscribedEvents()

{@inheritdoc}

Details

onMigrationsMigrated(MigrationsEventArgs $args)

Parameters

MigrationsEventArgs $args

getSubscribedEvents()

{@inheritdoc}