PackageServiceProvider
extends ServiceProvider
in package
Table of Contents
Properties
- $singletons : array<string|int, mixed>
Methods
- register() : void
- Register the service provider.
Properties
$singletons
public
array<string|int, mixed>
$singletons
= ['storage' => \MetaFox\Storage\Support\StorageService::class, 'asset' => \MetaFox\Storage\Repositories\Eloquent\AssetRepository::class, 'storage.path' => \MetaFox\Storage\Support\PathGenerator::class, \MetaFox\Storage\Repositories\FileRepositoryInterface::class => \MetaFox\Storage\Repositories\Eloquent\FileRepository::class, \MetaFox\Storage\Repositories\DiskRepositoryInterface::class => \MetaFox\Storage\Repositories\Eloquent\DiskRepository::class, \MetaFox\Storage\Repositories\AssetRepositoryInterface::class => \MetaFox\Storage\Repositories\Eloquent\AssetRepository::class]
Methods
register()
Register the service provider.
public
register() : void