Skip to content

Properly Document how to override core classes #4234

Closed
@weaverryan

Description

@weaverryan

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions