GX4ModuleRegistry
in package
implements
ComponentsRegistry, IteratorAggregate
Class GX4ModuleRegistry
Interfaces, Classes and Traits
- ComponentsRegistry
- Interface ComponentsRegistry
- IteratorAggregate
Table of Contents
- $components : array<string|int, GX4Module>
- components() : array<string|int, GX4Module>
- Returns a collection of components
- create() : GX4ModuleRegistry
- getIterator() : Traversable|array<string|int, GX4Module>
- __construct() : mixed
- GX4ModuleRegistry constructor.
Properties
$components
private
array<string|int, GX4Module>
$components
Methods
components()
Returns a collection of components
public
components() : array<string|int, GX4Module>
Return values
array<string|int, GX4Module> —create()
public
static create(GX4Module ...$components) : GX4ModuleRegistry
Parameters
- $components : GX4Module
Return values
GX4ModuleRegistry —getIterator()
public
getIterator() : Traversable|array<string|int, GX4Module>
Return values
Traversable|array<string|int, GX4Module> —__construct()
GX4ModuleRegistry constructor.
private
__construct(GX4Module ...$components) : mixed
Parameters
- $components : GX4Module