Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DI\Container::initialize(): usage of undefined $service variable #70

VladaHejda opened this issue Apr 24, 2015 · 0 comments


None yet
1 participant
Copy link

commented Apr 24, 2015

There is a bug if I add a panel into config:

            - Panel

and the Panel has dependency on some service that is defined in this notation:

        class: MyService

It will trigger a notice about usage of undefined variable $service:


If the service is defined as:

    - MyService

than everything is ok.

You can try it yourself in my sandbox branch with one commit added onto last 2.3.1 version:


@dg dg closed this in 702e770 May 3, 2015

dg added a commit that referenced this issue May 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.