PackageServiceProvider
extends ServiceProvider
in package
Class FriendServiceProvider.
Tags
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\Friend\Repositories\FriendRepositoryInterface::class => \MetaFox\Friend\Repositories\Eloquent\FriendRepository::class, \MetaFox\Friend\Repositories\FriendListRepositoryInterface::class => \MetaFox\Friend\Repositories\Eloquent\FriendListRepository::class, \MetaFox\Friend\Repositories\FriendRequestRepositoryInterface::class => \MetaFox\Friend\Repositories\Eloquent\FriendRequestRepository::class, \MetaFox\Friend\Repositories\TagFriendRepositoryInterface::class => \MetaFox\Friend\Repositories\Eloquent\TagFriendRepository::class, \MetaFox\Friend\Repositories\FriendTagBlockedRepositoryInterface::class => \MetaFox\Friend\Repositories\Eloquent\FriendTagBlockedRepository::class, \MetaFox\Friend\Contracts\FriendContract::class => \MetaFox\Friend\Support\Friend::class]
Methods
boot()
Boot the application events.
public
boot() : void
register()
Register the service provider.
public
register() : void