abstract class DataCollector implements DataCollectorInterface, Serializable
DataCollector.
Children of this class must store the collected data in the data property.
protected | $data |
serialize() | ||
unserialize($data) | ||
Data | cloneVar(mixed $var) Converts the variable into a serializable Data instance. | |
callable[] | getCasters() |
$data |
Converts the variable into a serializable Data instance.
This array can be displayed in the template using the VarDumper component.
mixed | $var |
Data |
callable[] | The casters to add to the cloner |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/DataCollector/DataCollector.html