mediatekformation

TwigDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

TwigDataCollector.

Tags
author

Fabien Potencier fabien@symfony.com

final

since Symfony 4.4

Interfaces, Classes, Traits and Enums

LateDataCollectorInterface
LateDataCollectorInterface.

Table of Contents

$data  : array<string|int, mixed>|Data
$cloner  : ClonerInterface
$computed  : mixed
$profile  : mixed
$twig  : mixed
__construct()  : mixed
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
collect()  : mixed
{@inheritdoc}
getBlockCount()  : mixed
getHtmlCallGraph()  : mixed
getMacroCount()  : mixed
getName()  : mixed
{@inheritdoc}
getProfile()  : mixed
getTemplateCount()  : mixed
getTemplatePaths()  : mixed
getTemplates()  : mixed
getTime()  : mixed
lateCollect()  : mixed
Collects data as late as possible.
reset()  : mixed
{@inheritdoc}
serialize()  : mixed
unserialize()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
computeData()  : mixed
getComputedData()  : mixed

Properties

Methods

__sleep()

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

__wakeup()

public __wakeup() : mixed
Return values
mixed

collect()

{@inheritdoc}

public collect(Request $request, Response $response) : mixed
Parameters
$request : Request
$response : Response
Return values
mixed

getHtmlCallGraph()

public getHtmlCallGraph() : mixed
Return values
mixed

getTemplateCount()

public getTemplateCount() : mixed
Return values
mixed

getTemplatePaths()

public getTemplatePaths() : mixed
Return values
mixed

lateCollect()

Collects data as late as possible.

public lateCollect() : 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

getComputedData()

private getComputedData(string $index) : mixed
Parameters
$index : string
Return values
mixed

Search results