AddonRegistry implements SingletonInterface
Registers and holds code editor modes
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Properties
- $registeredAddons : array<string|int, Addon>
Methods
- compileSettings() : array<string|int, mixed>
- getAddons() : array<string|int, mixed>
- register() : AddonRegistry
- Registers addons for global use in code editor
Properties
$registeredAddons
protected
array<string|int, Addon>
$registeredAddons
= []
Methods
compileSettings()
public
compileSettings(array<string|int, Addon> $addons) : array<string|int, mixed>
Parameters
- $addons : array<string|int, Addon>
Return values
array<string|int, mixed>getAddons()
public
getAddons() : array<string|int, mixed>
Return values
array<string|int, mixed>register()
Registers addons for global use in code editor
public
register(Addon $addon) : AddonRegistry
Parameters
- $addon : Addon