Skip to content

Add DI config example for failureHandler - #101

Open
rossaddison wants to merge 2 commits into
yiisoft:masterfrom
rossaddison:docs/failure-handler-di-example
Open

Add DI config example for failureHandler#101
rossaddison wants to merge 2 commits into
yiisoft:masterfrom
rossaddison:docs/failure-handler-di-example

Conversation

@rossaddison

Copy link
Copy Markdown
Q A
Is bugfix?
New feature?
Breaks BC?

Docs only, no code changes.

failureHandler is currently shown only via manual construction
(new CsrfTokenMiddleware(...)). A couple of lines down, withSafeMethods()
and withHeaderName() get a DI container example too. This adds the same
kind of example for failureHandler, since that's how most Yii3 apps
actually wire it up.

Happy to adjust wording/formatting to match your preference.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 69acc019-c712-4d4c-8c75-646e156260b2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vjik
vjik requested a review from a team September 6, 2026 05:23
@vjik vjik added the status:code review The pull request needs review. label Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:code review The pull request needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants