laravel target is not instantiable while building code example
Example: laravel target is not instantiable while building
// 1) Make sure the service Provider is listed in
// "config->app-> array of providers"
// 2) Bind interface & concrete class
$this->app->bind(MyInterface::class, MyRepository::class);
// 3) Clear Config Cache
php artisan config:cache