/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/ |
H A D | binary.test | 19 {{ "foo" ~ "bar" }} 20 {{ foo ~ "bar" }} 21 {{ "foo" ~ bar }} 22 {{ foo ~ bar }} 25 return ['foo' => 'bar', 'bar' => 'foo']
|
H A D | dotdot.test | 10 {% for i in foo[0]..foo[1] %}{{ i }} {% endfor %} 14 return ['foo' => [1, 10]]
|
H A D | ends_with.test | 4 {{ 'foo' ends with 'o' ? 'OK' : 'KO' }} 5 {{ not ('foo' ends with 'f') ? 'OK' : 'KO' }} 6 {{ not ('foo' ends with 'foowaytoolong') ? 'OK' : 'KO' }} 7 {{ 'foo' ends with '' ? 'OK' : 'KO' }}
|
H A D | magic_call.test | 4 {{ foo.foo }} 5 {{ foo.bar }} 16 if ('foo' === $method) { 24 return ['foo' => new TestClassForMagicCallAttributes()]
|
H A D | matches.test | 4 {{ 'foo' matches '/o/' ? 'OK' : 'KO' }} 5 {{ 'foo' matches '/^fo/' ? 'OK' : 'KO' }} 6 {{ 'foo' matches '/O/i' ? 'OK' : 'KO' }}
|
H A D | method_call.test | 4 {{ items.foo.foo }} 6 {{ items.foo.bar }} 9 {{ items.foo.bar(foo) }} 10 {{ items.foo.self.foo() }} 11 {{ items.foo.is }} 12 {{ items.foo.in }} 13 {{ items.foo.not }} 15 return ['foo' => 'bar', 'items' => ['foo' => new TwigTestFoo(), 'bar' => 'foo']] 19 foo 20 foo [all …]
|
H A D | postfix.test | 6 {% macro foo() %}foo{% endmacro %} 12 {{ macros.foo() }} 13 {{ (macros).foo() }} 21 foo 22 foo
|
H A D | starts_with.test | 4 {{ 'foo' starts with 'f' ? 'OK' : 'KO' }} 5 {{ not ('foo' starts with 'oo') ? 'OK' : 'KO' }} 6 {{ not ('foo' starts with 'foowaytoolong') ? 'OK' : 'KO' }} 7 {{ 'foo' starts with 'f' ? 'OK' : 'KO' }} 8 {{ 'foo' starts 10 {{ 'foo' starts with '' ? 'OK' : 'KO' }}
|
H A D | strings.test | 4 {{ "foo #{"foo #{bar} baz"} baz" }} 5 {{ "foo #{bar}#{bar} baz" }} 9 foo foo BAR baz baz 10 foo BARBAR baz
|
H A D | ternary_operator.test | 8 {{ 1 == 1 ? 'foo<br />':'' }} 9 {{ foo ~ (bar ? ('-' ~ bar) : '') }} 11 return ['foo' => 'foo', 'bar' => 'bar'] 17 foo<br /> 18 foo-bar
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/ |
H A D | batch_with_keys.test | 4 {{ {'foo': 'bar', 'key': 'value'}|batch(4)|first|keys|join(',') }} 5 {{ {'foo': 'bar', 'key': 'value'}|batch(4, 'fill')|first|keys|join(',') }} 9 foo,key 10 foo,key,0,1
|
H A D | default.test | 18 {{ undefinedVar.foo |default('default') is same as('default') ? 'ok' : 'ko' }} 28 {{ object.foo |default('default') is same as('default') ? 'ko' : 'ok' }} 35 {{ nested.undefinedVar.foo.bar |default('default') is same as('default') ? 'ok' : 'ko' }} 38 {{ object.self.foo |default('default') is same as('default') ? 'ko' : 'ok' }}
|
H A D | dynamic_filter.test | 9 foo/bar
|
H A D | escape.test | 4 {{ "foo <br />"|e }} 8 foo <br />
|
H A D | force_escape.test | 4 {% set foo %} 5 foo<br /> 8 {{ foo|e('html') -}} 9 {{ foo|e('js') }} 11 {{ foo }} 16 foo<br /> 18 foo<br />
|
H A D | format.test | 4 {{ string|format(foo, 3) }} 6 return ['string' => '%s/%d', 'foo' => 'bar']
|
H A D | join.test | 4 {{ ["foo", "bar"]|join(', ') }} 5 {{ foo|join(', ') }} 8 {{ ["foo", "bar"]|join(', ', ' and ') }} 9 {{ foo|join(', ', ' and ') }} 21 return ['foo' => new TwigTestFoo(), 'bar' => new \ArrayObject([3, 4])] 23 foo, bar 27 foo and bar
|
H A D | json_encode.test | 4 {{ "foo"|json_encode|raw }} 5 {{ foo|json_encode|raw }} 6 {{ [foo, "foo"]|json_encode|raw }} 8 return ['foo' => new \Twig\Markup('foo', 'UTF-8')] 10 "foo" 11 "foo" 12 ["foo","foo"]
|
H A D | length.test | 17 'string' => 'foo',
|
H A D | length_utf8.test | 9 return ['string' => 'été', 'markup' => new \Twig\Markup('foo', 'UTF-8')]
|
H A D | merge.test | 4 {{ items|merge({'bar': 'foo'})|join }} 5 {{ items|merge({'bar': 'foo'})|keys|join }} 6 {{ {'bar': 'foo'}|merge(items)|join }} 7 {{ {'bar': 'foo'}|merge(items)|keys|join }} 12 'items' => ['foo' => 'bar'],
|
H A D | replace.test | 4 {{ "I liké %this% and %that%."|replace({'%this%': "foo", '%that%': "bar"}) }} 8 return ['traversable' => new \ArrayObject(['%this%' => 'foo', '%that%' => 'bar'])] 10 I liké foo and bar. 12 I like foo and bar.
|
H A D | replace_invalid_arg.test | 4 {{ 'test %foo%'|replace(stdClass) }}
|
H A D | sort.test | 8 return ['array1' => [4, 1], 'array2' => ['foo', 'bar'], 'traversable' => new \ArrayObject([0 => 3, …
|
H A D | spaceless.test | 4 {{ " <div> <div> foo </div> </div>"|spaceless }} 8 <div><div> foo </div></div>
|