Modules
in package
Modules class.
Tags
Table of Contents
Properties
- $Container : Container
Methods
- __construct() : mixed
- Class constructor.
- listModules() : array<string|int, mixed>
- List modules with their data.
Properties
$Container
protected
Container
$Container
Methods
__construct()
Class constructor.
public
__construct(Container $Container) : mixed
Parameters
- $Container : Container
-
The DI container class.
listModules()
List modules with their data.
public
listModules([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $options : array<string|int, mixed> = []
-
Available options:
availability
(string) accept '' (empty string - means all), 'enabled', 'disabled'. Default is empty string.,
Return values
array<string|int, mixed> —Return associative array with total
and items
in keys.