AbstractDataCollector
extends DataCollector
in package
implements
TemplateAwareDataCollectorInterface
DataCollector.
Tags
Interfaces, Classes and Traits
- TemplateAwareDataCollectorInterface
- DataCollectorInterface.
Table of Contents
- $data : array<string|int, mixed>|Data
- $cloner : ClonerInterface
- __sleep() : array<string|int, mixed>
- __wakeup() : mixed
- getName() : string
- getTemplate() : string|null
- reset() : void
- cloneVar() : Data
- Converts the variable into a serializable Data instance.
- getCasters() : array<string|int, callable>
Properties
$data
protected
array<string|int, mixed>|Data
$data
= []
$cloner
private
ClonerInterface
$cloner
Methods
__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
public
__wakeup() : mixed
Return values
mixed —getName()
public
getName() : string
Return values
string —getTemplate()
public
static getTemplate() : string|null
Return values
string|null —reset()
public
reset() : void
Return values
void —cloneVar()
Converts the variable into a serializable Data instance.
protected
cloneVar(mixed $var) : Data
This array can be displayed in the template using the VarDumper component.
Parameters
- $var : mixed
Return values
Data —getCasters()
protected
getCasters() : array<string|int, callable>
Return values
array<string|int, callable> —The casters to add to the cloner