Skip to content

should autodiscovered clients be public or private? #218

Closed
@dbu

Description

@dbu

when building with symfony 3.4, we get warnings that we access private services. but at least some of those are explicitly set to private. what was the intention of creating those alias but then setting them to private?

the other failure is on httplug.client - should that not be public? and what about named clients? should they be public or not? imo the plugins and stuff should be private and only handled in DI, but for the clients themselves, they should be public.

@Nyholm and @fbourigault your names show up in git blame on those lines, what do you think? shall i just remove a bunch of setPublic(false) calls?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions