Method |
Description |
|
__construct ( Silex\Application $app ) |
|
|
addData ( string $path, mixed $value ) |
Add JavaScript data to app['jsdata']. |
|
buid ( ) : string |
Returns a unique ID. |
|
hattr ( array $attributes ) : string |
Prepares attributes ready to attach to an html tag. |
|
hclass ( array | string $classes, boolean $raw = false ) : string |
Generates pretty class attributes. |
|
logLevel ( integer $level ) : string |
Convert a Monolog log level to textual equivalent. |
|
randomQuote ( ) : string |
Returns a random quote. Just for fun. |
|
stack ( array | string $types = [] ) : array |
Return an array with the items on the stack. |
|
testStackable ( Bolt\Filesystem\Handler\FileInterface | string $filename ) : boolean |
Return whether or not a file is stackable. |
|
trans ( array $args, integer $numArgs ) : string |
Translate using our __(). |
|
ymllink ( string $str, boolean $safe ) : string |
Create a link to edit a .yml file, if a filename is detected in the string. Mostly
for use in Flashbag messages, to allow easy editing. |
|