Documentation

TwigNodeCache extends Node
in package
implements NodeOutputInterface

Class TwigNodeCache

Table of Contents

Interfaces

NodeOutputInterface

Methods

__construct()  : mixed
compile()  : void

Methods

__construct()

public __construct(Node $body, string $key, int $lifetime, array<string|int, mixed> $defaults, int $lineno, string|null $tag) : mixed
Parameters
$body : Node
$key : string

unique name for key

$lifetime : int

in seconds

$defaults : array<string|int, mixed>
$lineno : int
$tag : string|null

compile()

public compile(Compiler $compiler) : void
Parameters
$compiler : Compiler

        
On this page

Search results