class Twig_Tests_EnvironmentTest_Extension in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_Extension
Hierarchy
- class \Twig_Tests_EnvironmentTest_Extension extends \Twig_Extension
Expanded class hierarchy of Twig_Tests_EnvironmentTest_Extension
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ EnvironmentTest.php, line 217
View source
class Twig_Tests_EnvironmentTest_Extension extends Twig_Extension {
public function getTokenParsers() {
return array(
new Twig_Tests_EnvironmentTest_TokenParser(),
);
}
public function getNodeVisitors() {
return array(
new Twig_Tests_EnvironmentTest_NodeVisitor(),
);
}
public function getFilters() {
return array(
new Twig_SimpleFilter('foo_filter', 'foo_filter'),
);
}
public function getTests() {
return array(
new Twig_SimpleTest('foo_test', 'foo_test'),
);
}
public function getFunctions() {
return array(
new Twig_SimpleFunction('foo_function', 'foo_function'),
);
}
public function getOperators() {
return array(
array(
'foo_unary' => array(),
),
array(
'foo_binary' => array(),
),
);
}
public function getGlobals() {
return array(
'foo_global' => 'foo_global',
);
}
public function getName() {
return 'environment_test';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function | ||
Twig_Tests_EnvironmentTest_Extension:: |
public | function |