Skip to content

services.yaml >> factory-created service arguments are hinted as the class being factoried #1140

@luispabon

Description

@luispabon

Given a class that is instantiated via a factory, the arguments part of the service definition refers to the factory method, not the class being generated.

However, the symfony plugin thinks otherwise - it thinks the arguments are for the class being generated.

I've created a repo illustrating the issue:
https://github.com/luispabon/idea-symfony-plugin-woes

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions