Skip to content

Replace more occurrences of Controller by AbstractController #10045

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
Jul 11, 2018

Conversation

javiereguiluz
Copy link
Member

@javiereguiluz javiereguiluz commented Jul 11, 2018

This continues #10030.

I also propose to replace some ControllerTrait:: by AbstractController::. Let's not be pedantic about this. The helper methods are technically defined in the trait, but most people use them via the Abstract base controller. People advanced enough to not use AbstractController know perfectly how to use this trait.

@javiereguiluz javiereguiluz added this to the 4.1 milestone Jul 11, 2018
@javiereguiluz javiereguiluz merged commit 80c3c29 into symfony:4.1 Jul 11, 2018
javiereguiluz added a commit that referenced this pull request Jul 11, 2018
…ller (javiereguiluz)

This PR was merged into the 4.1 branch.

Discussion
----------

Replace more occurrences of Controller by AbstractController

This continues #10030.

I also propose to replace some `ControllerTrait::` by `AbstractController::`. Let's not be pedantic about this. The helper methods are technically defined in the trait, but most people use them via the Abstract base controller. People advanced enough to not use `AbstractController` know perfectly how to use this trait.

Commits
-------

80c3c29 Replace more occurrences of Controller by AbstractController
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants