\DebugBar\Bridge\TwigTraceableTwigTemplate

Wraps a Twig_Template to add profiling features

Summary

Methods
Properties
Constants
__construct()
__call()
getTemplateName()
getEnvironment()
getParent()
isTraitable()
displayParentBlock()
displayBlock()
renderParentBlock()
renderBlock()
hasBlock()
getBlockNames()
getBlocks()
display()
render()
clearCache()
No public properties found
No constants found
No protected methods found
$template
N/A
No private methods found
No private properties found
N/A

Properties

$template

$template : 

Type

Methods

__call()

__call(  $name,   $arguments) 

Parameters

$name
$arguments

getTemplateName()

getTemplateName() 

getEnvironment()

getEnvironment() 

getParent()

getParent(array  $context) 

Parameters

array $context

isTraitable()

isTraitable() 

displayParentBlock()

displayParentBlock(  $name, array  $context, array  $blocks = array()) 

Parameters

$name
array $context
array $blocks

displayBlock()

displayBlock(  $name, array  $context, array  $blocks = array(),   $useBlocks = true) 

Parameters

$name
array $context
array $blocks
$useBlocks

renderParentBlock()

renderParentBlock(  $name, array  $context, array  $blocks = array()) 

Parameters

$name
array $context
array $blocks

renderBlock()

renderBlock(  $name, array  $context, array  $blocks = array(),   $useBlocks = true) 

Parameters

$name
array $context
array $blocks
$useBlocks

hasBlock()

hasBlock(  $name) 

Parameters

$name

getBlockNames()

getBlockNames() 

getBlocks()

getBlocks() 

display()

display(array  $context, array  $blocks = array()) 

Parameters

array $context
array $blocks

render()

render(array  $context) 

Parameters

array $context

clearCache()

clearCache()