LogCollection
extends Collection
in package
Class LogCollection.
Table of Contents
- $actions : array<string|int, mixed>
- $collectors : array<string|int, mixed>
- $icon : string
- $iconPath : string
- $name : string
- __construct() : mixed
- addAction() : static
- addCollector() : static
- getActions() : array<string|int, string>
- getActivities() : array<int, array<int, array<string, mixed>>>
- getCollectors() : array<string|int, Collector>
- getIcon() : string
- getName() : string
- getSafeName() : string
- hasCollectors() : bool
- hasIcon() : bool
- setIcon() : static
- prepare() : void
Properties
$actions
protected
array<string|int, mixed>
$actions
= []
$collectors
protected
array<string|int, mixed>
$collectors
= []
$icon
protected
string
$icon
= ''
$iconPath
protected
string
$iconPath
= __DIR__ . '/icons/log.svg'
$name
protected
string
$name
Methods
__construct()
public
__construct(string $name) : mixed
Parameters
- $name : string
Return values
mixed —addAction()
public
addAction(string $action) : static
Parameters
- $action : string
Return values
static —addCollector()
public
addCollector(Collector $collector) : static
Parameters
- $collector : Collector
Return values
static —getActions()
public
getActions() : array<string|int, string>
Return values
array<string|int, string> —getActivities()
public
getActivities() : array<int, array<int, array<string, mixed>>>
Return values
array<int, array<int, array<string, mixed>>> —getCollectors()
public
getCollectors() : array<string|int, Collector>
Return values
array<string|int, Collector> —getIcon()
public
getIcon() : string
Return values
string —getName()
public
getName() : string
Return values
string —getSafeName()
public
getSafeName() : string
Return values
string —hasCollectors()
public
hasCollectors() : bool
Return values
bool —hasIcon()
public
hasIcon() : bool
Return values
bool —setIcon()
public
setIcon(string $icon) : static
Parameters
- $icon : string
Return values
static —prepare()
protected
prepare() : void