What does the following snippet do?
28 Remaining
1use App\Services\Transistor;2use App\Services\PodcastParser;3 4$this->app->singleton(Transistor::class, function ($app) {5 return new Transistor($app->make(PodcastParser::class));6});
Tip: Incomplete tests older than 7 days will be deleted. Completed tests are available forever.
Permalink: https://rappasoft.com/index.php/quizzes/laravel/architecture-concepts/a175bb1d-02e9-40b0-a770-0867e1d193bf
You can also get here with laravel-quizzes.com