PHP
Overriding an implementation inside the IoC
This example overrides a model with your custom implementation. App::bind(‘Vendor\Package\Model’, function(){ return new MyNamespace\MyModel; }); Example 2: App::bind(‘Vendor\Package\Model’, function(){ return App::make(‘MyNamespace\MyModel’); });