MetaFox

PackageServiceProvider extends ServiceProvider
in package
implements DeferrableProvider

Class CoreServiceProvider.

Tags
SuppressWarnings

(PHPMD.CouplingBetweenObjects)

Table of Contents

Interfaces

DeferrableProvider

Properties

$singletons  : array<string|int, string>

Methods

boot()  : void
Bootstrap bind repositories.
provides()  : array<string|int, string>
Get the services provided by the provider.
register()  : void
Register the service provider.

Properties

$singletons

public array<string|int, string> $singletons = ['core.drivers' => \MetaFox\Core\Repositories\Eloquent\DriverRepository::class, \MetaFox\Core\Repositories\DriverRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\DriverRepository::class, \MetaFox\Platform\Contracts\UniqueIdInterface::class => \MetaFox\Core\Support\UniqueId::class, \MetaFox\Core\Repositories\Contracts\PrivacyRepositoryInterface::class => \MetaFox\Core\Repositories\PrivacyRepository::class, \MetaFox\Core\Repositories\Contracts\PrivacyMemberRepositoryInterface::class => \MetaFox\Core\Repositories\PrivacyMemberRepository::class, \MetaFox\Core\Repositories\Contracts\PrivacyStreamRepositoryInterface::class => \MetaFox\Core\Repositories\PrivacyStreamRepository::class, \MetaFox\Core\Repositories\StatsContentRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\StatsContentRepository::class, \MetaFox\Platform\Contracts\PrivacyPolicy::class => \MetaFox\Core\Repositories\PrivacyPolicyRepository::class, \MetaFox\Platform\Contracts\UploadFile::class => \MetaFox\Core\Support\FileSystem\UploadFile::class, \MetaFox\Platform\Contracts\ResizeImageInterface::class => \MetaFox\Core\Support\FileSystem\Image\Plugins\ResizeImage::class, \MetaFox\Core\Repositories\Contracts\AppSettingRepositoryInterface::class => \MetaFox\Core\Repositories\AppSettingRepository::class, \MetaFox\Platform\Contracts\UrlUtilityInterface::class => \MetaFox\Core\Support\UrlUtility::class, \MetaFox\Core\Repositories\LinkRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\LinkRepository::class, \MetaFox\Core\Repositories\AttachmentRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\AttachmentRepository::class, \MetaFox\Core\Repositories\AttachmentFileTypeRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\AttachmentFileTypeRepository::class, \MetaFox\Core\Repositories\AdminSearchRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\AdminSearchRepository::class, \MetaFox\Core\Repositories\AdminAccessRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\AdminAccessRepository::class, \MetaFox\Core\Repositories\ItemStatisticsRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\ItemStatisticsRepository::class, \MetaFox\Platform\Contracts\Output::class => \MetaFox\Core\Support\Output::class, \MetaFox\Platform\Contracts\Input::class => \MetaFox\Core\Support\Input::class, \MetaFox\Platform\Contracts\BanWord::class => \MetaFox\Core\Support\BanWord::class, \MetaFox\Platform\Contracts\BBCode::class => \MetaFox\Core\Support\Content\BBCode::class, \MetaFox\Platform\Contracts\SiteSettingRepositoryInterface::class => \MetaFox\Core\Repositories\Eloquent\SiteSettingRepository::class, \MetaFox\Core\Contracts\AttachmentFileTypeContract::class => \MetaFox\Core\Support\AttachmentFileType::class, \MetaFox\Platform\Contracts\MetaFoxFileTypeInterface::class => \MetaFox\Core\Support\FileSystem\FileType::class, 'core.converter' => \MetaFox\Core\Support\ConverterManager::class]

Methods

provides()

Get the services provided by the provider.

public provides() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results