UserFrosting API

Account extends Sprinkle

Bootstrapper class for the 'account' sprinkle.

Represents a sprinkle (plugin, theme, site, etc), and the code required to boot up that sprinkle.

Tags
author

Alex Weissman (https://alexanderweissman.com)

Table of Contents

$servicesproviders string[]
$ci ContainerInterface
$servicesproviders string[]
__construct() Create a new Sprinkle object. mixed
getSubscribedEvents() By default assign all methods as listeners using the default priority. array
registerServices() Register all services providers. void

Properties

$servicesproviders

protected string[] $servicesproviders = [\UserFrosting\Sprinkle\Account\I18n\LocaleServicesProvider::class]

$servicesproviders

protected string[] $servicesproviders = []
Tags
TODO

: Move all theses to their own class (Target UF 5.0) and list the one need registering in config

Methods

__construct()

Create a new Sprinkle object.

public __construct( $ci : ContainerInterface ) : mixed
Parameters
$ci : ContainerInterface

The global container object, which holds all your services.

Return values
mixed

getSubscribedEvents()

By default assign all methods as listeners using the default priority.

public static getSubscribedEvents( ) : array
Return values
array

registerServices()

Register all services providers.

public registerServices( ) : void

Search results