Skip to content
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

Use service name in the example #541

Merged
merged 1 commit into from Apr 8, 2024
Merged

Commits on Apr 8, 2024

  1. Use service name in the example

    By defining a new service for `Doctrine\Migrations\Version\DbalMigrationFactory` you overwrite the existing factory. The existing factory definition however is more complex when you have multiple connections defined. The connection is determined by the arguments passed to the console command. The original example breaks this behavior. 
    
    By now the example is using the exiting service to decorate, allowing people with multiple connections to create a new decorator without breaking the behavior.
    jaapio committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    13f3197 View commit details
    Browse the repository at this point in the history