We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efda29f commit b650414Copy full SHA for b650414
README.md
@@ -54,6 +54,15 @@ php artisan make:service UserService --repository
54
php artisan make:service UserService --api
55
56
```
57
+
58
+## How to change bind interface to new class implementation
59
+Add this config to AppServiceProvider :
60
+```php
61
+$this->app->extend(Interface::class, function ($service, $app) {
62
+ return new NewImplement($service);
63
+});
64
+```
65
66
# Documentation
67
Go to guide [Click Here](http://bit.ly/repository-service-pattern-guide)
68
0 commit comments