Created
January 10, 2014 13:25
-
-
Save assertchris/8351855 to your computer and use it in GitHub Desktop.
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
| App::bind('Full\Interface\Namespace', 'Full\Implementation\Namespace'); | |
| class Foo | |
| { | |
| public function __construct(Full\Interface\Namespace $bar) | |
| { | |
| $this->bar = $bar; // instance of Full\Implementation\Namespace | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment