FileAccess Orion

DataCollector
in package
implements DataCollectorInterface

DataCollector.

Children of this class must store the collected data in the data property.

Tags
author

Fabien Potencier fabien@symfony.com

author

Bernhard Schussek bschussek@symfony.com

Interfaces, Classes, Traits and Enums

DataCollectorInterface
DataCollectorInterface.

Table of Contents

$data  : array<string|int, mixed>|Data
$cloner  : ClonerInterface
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
serialize()  : mixed
unserialize()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>

Properties

Methods

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__wakeup()

public __wakeup() : mixed
Return values
mixed

serialize()

public serialize() : mixed
Tags
deprecated

since Symfony 4.3, store all the serialized state in the data property instead

Return values
mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed
Tags
deprecated

since Symfony 4.3, store all the serialized state in the data property instead

Return values
mixed

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

Search results