PackageServiceProvider
extends ServiceProvider
in package
Table of Contents
Properties
- $singletons : array<string|int, mixed>
Methods
- boot() : void
- Boot the application events.
- register() : void
- Register the service provider.
Properties
$singletons
public
array<string|int, mixed>
$singletons
= [\MetaFox\Comment\Repositories\CommentRepositoryInterface::class => \MetaFox\Comment\Repositories\Eloquent\CommentRepository::class, \MetaFox\Comment\Repositories\CommentAdminRepositoryInterface::class => \MetaFox\Comment\Repositories\Eloquent\CommentAdminRepository::class, \MetaFox\Comment\Repositories\CommentHistoryRepositoryInterface::class => \MetaFox\Comment\Repositories\Eloquent\CommentHistoryRepository::class, \MetaFox\Comment\Repositories\CommentStatisticRepositoryInterface::class => \MetaFox\Comment\Repositories\Eloquent\CommentStatisticRepository::class, \MetaFox\Comment\Repositories\CommentHiddenRepositoryInterface::class => \MetaFox\Comment\Repositories\Eloquent\CommentHiddenRepository::class]
Methods
boot()
Boot the application events.
public
boot() : void
register()
Register the service provider.
public
register() : void