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
Afficher le fichier Open project: symfony/symfony Class Usage Examples

Protected Properties

Свойство Type Description
$data

Méthodes publiques

Méthode Description
serialize ( )
unserialize ( $data )

Méthodes protégées

Méthode 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

Méthode Description
decorateVar ( $var )

Method Details

cloneVar() protected méthode

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

serialize() public méthode

public serialize ( )

unserialize() public méthode

public unserialize ( $data )

varToString() protected méthode

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
Résultat string The string representation of the variable

Property Details

$data protected_oe property

protected $data