8000 [DoctrineBundle] Add infos about disabling the Autocommit mode by Crovitche-1623 · Pull Request #20824 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[DoctrineBundle] Add infos about disabling the Autocommit mode #20824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: 7.2
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: shorter section title
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
  • Loading branch information
Crovitche-1623 and OskarStark authored Mar 26, 2025
commit b90e0e8fcd81c198a277934fc88c5ad9bef5a0be
4 changes: 2 additions & 2 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@
}
}

Disabling the Autocommit mode
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Disable Autocommit Mode
~~~~~~~~~~~~~~~~~~~~~~~

If you want to disable the `Autocommit`_ mode, you need to update your DBAL configuration as follows:

Expand Down Expand Up @@ -243,8 +243,8 @@
// config/services.php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use Doctrine\Migrations\Event\Listeners\AutoCommitListener;

Check failure on line 246 in reference/configuration/doctrine.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Doctrine\Migrations\Event\Listeners\AutoCommitListener" does not exist
use Doctrine\Migrations\Events;

Check failure on line 247 in reference/configuration/doctrine.rst

View workflow job for this annotation

GitHub Actions / Code Blocks

[Missing class] Class, interface or trait with name "Doctrine\Migrations\Events" does not exist

return function(ContainerConfigurator $container): void {
$services = $container->services();
Expand Down
Loading
0