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

Bundle override - consider renaming getParent function #4347

Copy link
Copy link
Closed
@wouterj

Description

@wouterj
Issue body actions

You can override bundles by defining the function getParent in your bundle class. I think the name getParent is a little confusing. It's like your bundle is the child and another bundle the parent.

The child overrides the parent, this is normal. But in Symfony we call the Parent and we get the code of the overriden Child. That sounds anormal...

I suggest to call this function overrides or extends or something like that. But there is no Parent-Child relation between Bundles.

Metadata

Metadata

Assignees

No one assigned

    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.