Lines Matching refs:createFilter
42 $node = $this->createFilter($expr, 'upper');
43 …$node = $this->createFilter($node, 'number_format', [new ConstantExpression(2, 1), new ConstantExp…
53 $node = $this->createFilter($date, 'date', [
61 $node = $this->createFilter($date, 'date', [
68 $node = $this->createFilter($string, 'reverse', [
72 $node = $this->createFilter($string, 'reverse', [
79 $node = $this->createFilter(new ConstantExpression('foo', 1), 'anonymous');
84 $node = $this->createFilter($string, 'bar');
87 $node = $this->createFilter($string, 'bar', [new ConstantExpression('bar', 1)]);
91 $node = $this->createFilter($string, 'barbar');
94 $node = $this->createFilter($string, 'barbar', ['foo' => new ConstantExpression('bar', 1)]);
97 … $node = $this->createFilter($string, 'barbar', ['arg2' => new ConstantExpression('bar', 1)]);
100 $node = $this->createFilter($string, 'barbar', [
118 $node = $this->createFilter($date, 'date', [
133 $node = $this->createFilter($value, 'replace', [
141 protected function createFilter($node, $name, array $arguments = []) function in Twig_Tests_Node_Expression_FilterTest