class Twig_Extension_StringLoader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Extension/StringLoader.php \Twig_Extension_StringLoader
Hierarchy
- class \Twig_Extension_StringLoader extends \Twig_Extension
Expanded class hierarchy of Twig_Extension_StringLoader
File
- vendor/
twig/ twig/ lib/ Twig/ Extension/ StringLoader.php, line 11
View source
class Twig_Extension_StringLoader extends Twig_Extension {
public function getFunctions() {
return array(
new Twig_SimpleFunction('template_from_string', 'twig_template_from_string', array(
'needs_environment' => true,
)),
);
}
public function getName() {
return 'string_loader';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Extension_StringLoader:: |
public | function | ||
Twig_Extension_StringLoader:: |
public | function |