string renderFragmentStrategy(string $strategy, string|
string renderFragment(string|
string getName() Returns the name of the extension.
class AssetExtension extends Twig_Extension Twig extension for the Symfony Asset component.
initRuntime(Twig_Environment $environment) {@inheritdoc}
getTranslator()
string fileExcerpt(string $file, int $line) Returns an excerpt of a code file around the given
getName() {@inheritdoc}
abbrClass($class) Parameters $class
class TranslationExtension extends Twig_Extension Provides integration of the Translation component
Page 3 of 9