Created
October 8, 2017 03:10
-
-
Save ojhaujjwal/41b4027d745e84f0583914b7a6a509f7 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
$container->bind('My\Service', function($container) { | |
return new My\Service($container->make('My\AnotherService')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment