Skip to content

Keep the services.yaml file in sync with the default Symfony file #759

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

Merged
merged 1 commit into from
Feb 4, 2018
Merged

Keep the services.yaml file in sync with the default Symfony file #759

merged 1 commit into from
Feb 4, 2018

Conversation

javiereguiluz
Copy link
Member

In this demo app we always keep config files in sync with those provided by the Symfony recipes. This makes the config easier to understand for newcomers (there will be no surprises because when they install Symfony, they'll get the same config they saw on this app).

In addition, I think it's a good idea to keep the App\Controller\ config. It's true that technically we don't need it because our controllers extend from the base controller. But having this config explicitly, makes it easier to understand what's going on with the services created from controllers.

@javiereguiluz javiereguiluz merged commit 3bb3928 into symfony:master Feb 4, 2018
javiereguiluz added a commit that referenced this pull request Feb 4, 2018
…ny file (javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Keep the services.yaml file in sync with the default Symfony file

In this demo app we always keep config files in sync with those provided by the Symfony recipes. This makes the config easier to understand for newcomers (there will be no surprises because when they install Symfony, they'll get the same config they saw on this app).

In addition, I think it's a good idea to keep the `App\Controller\` config. It's true that technically we don't need it because our controllers extend from the base controller. But having this config explicitly, makes it easier to understand what's going on with the services created from controllers.

Commits
-------

3bb3928 Keep the services.yaml file in sync with the default Symfony file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant