/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Concurrency/ConcurrencyServiceProvider.php
33 строки
692 B
Taylor Otwell
Laracon 2024 (#52710)
11 сен 2024, 23:06
Не верифицирован
11 сен 2024, 23:06
c44aa73
Код
Авторство
О чём код?
<?php namespace Illuminate\Concurrency; use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Support\ServiceProvider; class ConcurrencyServiceProvider extends ServiceProvider implements DeferrableProvider { /** * Register the service provider. * * @return void */ public function register() { $this->app->singleton(ConcurrencyManager::class, function ($app) { return new ConcurrencyManager($app); }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return [ ConcurrencyManager::class, ]; } }