1 | <?php |
||
17 | class ServiceProviders extends Bootstrapper |
||
18 | { |
||
19 | /** |
||
20 | * The application's core providers. |
||
21 | * |
||
22 | * @var string[] |
||
23 | */ |
||
24 | protected $providers = [ |
||
25 | Providers\ErrorHandler\ServiceProvider::class, |
||
26 | EventServiceProvider::class, |
||
27 | CacheServiceProvider::class, |
||
28 | Providers\Composer\ServiceProvider::class, |
||
29 | Providers\Scheduler\ServiceProvider::class, |
||
30 | LaravelDesktopNotifierServiceProvider::class, |
||
31 | ]; |
||
32 | |||
33 | /** |
||
34 | * The application's core components. |
||
35 | * |
||
36 | * @var string[] |
||
37 | */ |
||
38 | protected $components = [ |
||
39 | Component\Illuminate\Database\ComponentProvider::class, |
||
40 | Component\Illuminate\Filesystem\ComponentProvider::class, |
||
41 | ]; |
||
42 | |||
43 | /** |
||
44 | * The application core aliases. |
||
45 | * |
||
46 | * @var array |
||
47 | */ |
||
48 | protected $aliases = [ |
||
49 | 'app' => [\Illuminate\Contracts\Container\Container::class], |
||
50 | 'events' => [\Illuminate\Events\Dispatcher::class, \Illuminate\Contracts\Events\Dispatcher::class], |
||
51 | 'config' => [\Illuminate\Config\Repository::class, \Illuminate\Contracts\Config\Repository::class], |
||
52 | 'cache' => [\Illuminate\Cache\CacheManager::class, \Illuminate\Contracts\Cache\Factory::class], |
||
53 | 'cache.store' => [\Illuminate\Cache\Repository::class, \Illuminate\Contracts\Cache\Repository::class], |
||
54 | ]; |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function bootstrap(): void |
||
84 | |||
85 | /** |
||
86 | * Creates a new instance of the service provider an |
||
87 | * calls the provided method. |
||
88 | * |
||
89 | * @param string $serviceProviderClass |
||
90 | * @param string $method |
||
91 | */ |
||
92 | private function call(string $serviceProviderClass, string $method): void |
||
99 | } |
||
100 |