Method |
Description |
|
breakOnDelimiter ( string $delimiter, string $s ) : string |
Makes sure that the given string breaks on the delimiter. |
|
delVariable ( string $variableName ) |
Unsets a single template variable, by its name |
|
dump ( mixed $value ) : string |
Format the given value into a human readable string. |
|
dumpArgs ( Whoops\Exception\Frame $frame ) : string |
Format the args of the given Frame as a human readable html string |
|
escape ( string $raw ) : string |
Escapes a string for output in an HTML document |
|
escapeButPreserveUris ( string $raw ) : string |
Escapes a string for output in an HTML document, but preserves
URIs within it, and converts them to clickable anchor elements. |
|
getCloner ( ) : AbstractCloner |
Get the cloner used for dumping variables. |
|
getVariable ( string $variableName, mixed $defaultValue = null ) : mixed |
Gets a single template variable, by its name, or
$defaultValue if the variable does not exist |
|
getVariables ( ) : array |
Returns all variables for this helper |
|
render ( string $template, array $additionalVariables = null ) |
Given a template path, render it within its own scope. This
method also accepts an array of additional variables to be
passed to the template. |
|
setCloner ( AbstractCloner $cloner ) |
Set the cloner used for dumping variables. |
|
setVariable ( string $variableName, mixd $variableValue ) |
Sets a single template variable, by its name: |
|
setVariables ( array $variables ) |
Sets the variables to be passed to all templates rendered
by this template helper. |
|
shorten ( string $path ) : string |
Replace the part of the path that all files have in common. |
|
slug ( string $original ) : string |
Convert a string to a slug version of itself |
|