You are here

class Twig_Tests_EnvironmentTest_Extension in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_Extension

Hierarchy

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