Template Sloth
|
Public Member Functions | |
__construct (Environment $twig, string $default_layout=null, array $default_layout_attrs=[]) | |
registerExtension () | |
setLayout (string $layout, array $attributes=null) | |
setLayoutAttribute (string $attr, $value) | |
slot (string $slot_name) | |
display () | |
render () | |
response ($status=200, $headers=[]) | |
streamedResponse ($status=200, $headers=[]) | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
Protected Member Functions | |
configureLayoutAttributes (Environment $twig, $layoutAttrs) | |
Protected Attributes | |
$twig | |
$layout = null | |
$layout_attr = [] | |
$slots = [] | |
__construct | ( | Environment | $twig, |
string | $default_layout = null , |
||
array | $default_layout_attrs = [] |
||
) |
registerExtension | ( | ) |
setLayout | ( | string | $layout, |
array | $attributes = null |
||
) |
setLayoutAttribute | ( | string | $attr, |
$value | |||
) |
|
protected |
slot | ( | string | $slot_name | ) |
display | ( | ) |
render | ( | ) |
response | ( | $status = 200 , |
|
$headers = [] |
|||
) |
streamedResponse | ( | $status = 200 , |
|
$headers = [] |
|||
) |
offsetExists | ( | $offset | ) |
offsetGet | ( | $offset | ) |
offsetSet | ( | $offset, | |
$value | |||
) |
offsetUnset | ( | $offset | ) |
|
protected |
|
protected |
|
protected |
|
protected |