Quizzes: Laravel • Architecture Concepts

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});
What does the following snippet do?
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/30703fb9-daf4-4d15-aae2-8d94c875dd12

You can also get here with laravel-quizzes.com