PackageServiceProvider
extends ServiceProvider
in package
Tags
Table of Contents
Properties
- $singletons : array<string|int, mixed>
Methods
- boot() : void
- register() : void
- Register the service provider.
Properties
$singletons
public
array<string|int, mixed>
$singletons
= ['activity.pin' => \MetaFox\Activity\Repositories\PinRepositoryInterface::class, 'Activity.Subscription' => \MetaFox\Activity\Support\ActivitySubscription::class, 'FeedPolicySingleton' => \MetaFox\Activity\Policies\FeedPolicy::class, 'SnoozePolicySingleton' => \MetaFox\Activity\Policies\SnoozePolicy::class, \MetaFox\Activity\Repositories\PinRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\PinRepository::class, \MetaFox\Activity\Repositories\FeedRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\FeedRepository::class, \MetaFox\Activity\Repositories\PostRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\PostRepository::class, \MetaFox\Activity\Repositories\SnoozeRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\SnoozeRepository::class, \MetaFox\Activity\Repositories\ShareRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\ShareRepository::class, \MetaFox\Activity\Repositories\TypeRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\TypeRepository::class, \MetaFox\Activity\Repositories\ActivityHistoryRepositoryInterface::class => \MetaFox\Activity\Repositories\Eloquent\ActivityHistoryRepository::class, \MetaFox\Activity\Contracts\ActivityFeedContract::class => \MetaFox\Activity\Support\ActivityFeed::class, \MetaFox\Activity\Contracts\TypeManager::class => \MetaFox\Activity\Support\TypeManager::class, \MetaFox\Activity\Contracts\ActivitySnoozeManager::class => \MetaFox\Activity\Support\ActivitySnoozeManager::class, \MetaFox\Activity\Contracts\ActivityHiddenManager::class => \MetaFox\Activity\Support\ActivityHiddenManager::class, \MetaFox\Activity\Contracts\ActivityPinManager::class => \MetaFox\Activity\Support\ActivityPinManager::class, \MetaFox\Activity\Support\Contracts\StreamManagerInterface::class => \MetaFox\Activity\Support\StreamManager::class]
Methods
boot()
public
boot() : void
register()
Register the service provider.
public
register() : void