Closed
Description
Q | A |
---|---|
Bug report? | yes? |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.4 |
Given
foo:
class: App\Foo
public: true
bind: { $some: '@bar' }
bar:
class: stdClass
I get
The service "foo" has a dependency on a non-existent service "bar".
Making bar
public fixes it. Am i missing something why "bar" cant be private?