string getName() Returns the name of the extension.
abbrClass($class) Parameters $class
getTokenParsers() {@inheritdoc}
string getAssetVersion(string $path, string $packageName = null) Returns the version of an asset
string humanize(string $text) Makes a technical name human readable.
string formatArgsAsText(array $args) Formats an array as a string.
class TranslationExtension extends Twig_Extension Provides integration of the Translation component
getTokenParsers()
trans($message, array $arguments = array(), $domain = null, $locale = null) Parameters
getName() {@inheritdoc}
Page 5 of 9