Last active
September 29, 2015 15:39
-
-
Save hannesvdvreken/1e9fcc321af73a6e8f74 to your computer and use it in GitHub Desktop.
League container service binding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$container->inflector(ImmutableContainerAwareInterface::class, function (ImmutableContainerAwareInterface $containerAware) { | |
return $containerAware->setContainer($container->get(InteropContainerInterface::class)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment