* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace App\Providers; use Prettus\Repository\Providers\LumenRepositoryServiceProvider; class RepositoryServiceProvider extends LumenRepositoryServiceProvider { /** * Bootstrap services. */ public function boot() { $this->app->bind(\App\Contracts\Repositories\UserRepository::class, \App\Repositories\Eloquent\UserRepositoryEloquent::class); $this->app->bind(\App\Contracts\Repositories\PostRepository::class, \App\Repositories\Eloquent\PostRepositoryEloquent::class); } }