Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Http kernel controller arguments#10640

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@ottaviano
Copy link
Contributor

Hi,
I saw the issue#6854, and I can not write full & clear doc to describe thekernel.controller_arguments event.
But I think that it will be nice to have this event in the list of all Kernel events.

I fix thekernel.finish_request event description. This event is triggered afterkernel.response event (not only for a sub-request).

juuuuuu reacted with thumbs up emoji
@ottavianoottavianoforce-pushed thehttp-kernel-controller-arguments branch fromeb43c48 to36d3677CompareNovember 9, 2018 09:17
@nicolas-grekas
Copy link
Member

Thekernel.controller_arguments event is triggered just before a controller is called, and is a hook that allows configuring the arguments that are going to be passed to the controller. Typically, this is used to map URL routing parameters to their corresponding named arguments; or pass the current request when theRequest type hint is found.

@ottaviano
Copy link
ContributorAuthor

@nicolas-grekas, it seems that it was not enough as an explication2 years ago

@javiereguiluzjaviereguiluz added this to the3.4 milestoneApr 5, 2019
javiereguiluz added a commit that referenced this pull requestApr 5, 2019
This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes#10640).Discussion----------Http kernel controller argumentsHi,I saw the issue#6854, and I can not write full & clear doc to describe the `kernel.controller_arguments` event.But I think that it will be nice to have this event in the list of all Kernel events.I fix the `kernel.finish_request` event description. This event is triggered after `kernel.response` event (not only for a sub-request).Commits-------cd5fe5a Http kernel controller arguments
@javiereguiluz
Copy link
Member

Thanks Dimitri! I'm really sorry it took us so long to merge this contribution ... but it's finally merged!

ottaviano reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@ottaviano@nicolas-grekas@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp