Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Make psysh.facade public so it is not removed from the compiled container #31

Merged
merged 3 commits into from
Dec 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make psysh.facade public
Fix for error in Symfony 4: The "psysh.facade" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
  • Loading branch information
msheakoski authored and theofidry committed Dec 17, 2017
commit dc162d70cc11bc24027b580a9a276b83c784c13e
2 changes: 1 addition & 1 deletion resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<tag name="console.command" />
</service>

<service id="psysh.facade" class="Fidry\PsyshBundle\PsyshFacade">
<service id="psysh.facade" class="Fidry\PsyshBundle\PsyshFacade" public="true">
<call method="setContainer">
<argument type="service" id="service_container" />
</call>
Expand Down