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

Appearance settings

Properly Document how to override core classes #4234

Copy link
Copy link
Closed
@weaverryan

Description

@weaverryan
Issue body actions

Hi guys!

First, see symfony/symfony#11881. Basically, we should be using service decoration and not recommending that you override any *class parameters. We do talk about service decoration in components/dependency_injection/advanced.rst, but I propose that we show a quick cookbook article on how to override a real core service.

It might also be nice to change the existing article to use examples better than foo and bar :). See https://github.com/symfony/symfony-docs/pull/3753/files#r17416550.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.