Skip to content

Instantly share code, notes, and snippets.

@hannesvdvreken
Last active September 29, 2015 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hannesvdvreken/1e9fcc321af73a6e8f74 to your computer and use it in GitHub Desktop.
Save hannesvdvreken/1e9fcc321af73a6e8f74 to your computer and use it in GitHub Desktop.
League container service binding
$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