2017-07-30から1日間の記事一覧
使い分け // singleton を利用すると内容が cache される $this->app->singleton(MemoServiceInterface::class, MemoService::class); // bind でも同様に動作するが、 cache されない $this->app->bind(MemoServiceInterface::class, MemoService::class); …
使い分け // singleton を利用すると内容が cache される $this->app->singleton(MemoServiceInterface::class, MemoService::class); // bind でも同様に動作するが、 cache されない $this->app->bind(MemoServiceInterface::class, MemoService::class); …