PackageServiceProvider
extends ServiceProvider
in package
Class PhotoServiceProvider.
Tags
Table of Contents
Properties
- $singletons : array<string|int, mixed>
Methods
- boot() : void
- Boot the application events.
Properties
$singletons
public
array<string|int, mixed>
$singletons
= ['Photo' => \MetaFox\Photo\Support\Photo::class, \MetaFox\Photo\Repositories\PhotoRepositoryInterface::class => \MetaFox\Photo\Repositories\Eloquent\PhotoRepository::class, \MetaFox\Photo\Repositories\AlbumRepositoryInterface::class => \MetaFox\Photo\Repositories\Eloquent\AlbumRepository::class, \MetaFox\Photo\Repositories\CategoryRepositoryInterface::class => \MetaFox\Photo\Repositories\Eloquent\CategoryRepository::class, \MetaFox\Photo\Repositories\PhotoGroupRepositoryInterface::class => \MetaFox\Photo\Repositories\Eloquent\PhotoGroupRepository::class, \MetaFox\Photo\Contracts\AlbumContract::class => \MetaFox\Photo\Support\Album::class]
Methods
boot()
Boot the application events.
public
boot() : void