PHP Class Symfony\Component\HttpKernel\DataCollector\DataCollector

Children of this class must store the collected data in the data property.
Author: Fabien Potencier ([email protected])
Inheritance: implements Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface, implements Serializable
Mostrar archivo Open project: symfony/symfony Class Usage Examples

Protected Properties

Property Type Description
$data

Public Methods

Method Description
serialize ( )
unserialize ( $data )

Protected Methods

Method Description
cloneVar ( mixed $var ) : Symfony\Component\VarDumper\Cloner\Data Converts the variable into a serializable Data instance.
varToString ( mixed $var ) : string Converts a PHP variable to a string.

Private Methods

Method Description
decorateVar ( $var )

Method Details

cloneVar() protected method

This array can be displayed in the template using the VarDumper component.
protected cloneVar ( mixed $var ) : Symfony\Component\VarDumper\Cloner\Data
$var mixed
return Symfony\Component\VarDumper\Cloner\Data

serialize() public method

public serialize ( )

unserialize() public method

public unserialize ( $data )

varToString() protected method

Converts a PHP variable to a string.
Deprecation: Deprecated since version 3.2, to be removed in 4.0. Use cloneVar() instead.
protected varToString ( mixed $var ) : string
$var mixed A PHP variable
return string The string representation of the variable

Property Details

$data protected_oe property

protected $data