/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/ |
H A D | IntegrationTest.php | 23 use Twig\TwigFunction; alias 171 new TwigFunction('§', [$this, '§Function']), 172 new TwigFunction('safe_br', [$this, 'br'], ['is_safe' => ['html']]), 173 new TwigFunction('unsafe_br', [$this, 'br']), 174 new TwigFunction('static_call_string', 'TwigTestExtension::staticCall'), 175 new TwigFunction('static_call_array', ['TwigTestExtension', 'staticCall']), 176 new TwigFunction('*_path', [$this, 'dynamic_path']), 177 new TwigFunction('*_foo_*_bar', [$this, 'dynamic_foo']),
|
H A D | EnvironmentTest.php | 25 use Twig\TwigFunction; alias 589 new TwigFunction('foo_function', 'foo_function'), 682 … new TwigFunction('from_runtime_array', ['Twig_Tests_EnvironmentTest_Runtime', 'fromRuntime']), 683 … new TwigFunction('from_runtime_string', 'Twig_Tests_EnvironmentTest_Runtime::fromRuntime'),
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/ |
H A D | FunctionTest.php | 17 use Twig\TwigFunction; alias 34 $environment->addFunction(new TwigFunction('foo', 'foo', [])); 35 $environment->addFunction(new TwigFunction('bar', 'bar', ['needs_environment' => true])); 36 $environment->addFunction(new TwigFunction('foofoo', 'foofoo', ['needs_context' => true])); 37 …$environment->addFunction(new TwigFunction('foobar', 'foobar', ['needs_environment' => true, 'need… 38 …$environment->addFunction(new TwigFunction('barbar', 'twig_tests_function_barbar', ['is_variadic' …
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/ |
H A D | FunctionExpression.php | 15 use Twig\TwigFunction; alias 35 … if ($function instanceof \Twig_FunctionCallableInterface || $function instanceof TwigFunction) { 43 if ($function instanceof TwigFunction) {
|
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/ |
H A D | SimpleFunction.php | 3 use Twig\TwigFunction; alias 8 class Twig_SimpleFunction extends TwigFunction
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/ |
H A D | StringLoaderExtension.php | 13 use Twig\TwigFunction; alias 23 …new TwigFunction('template_from_string', 'twig_template_from_string', ['needs_environment' => true…
|
H A D | ExtensionInterface.php | 18 use Twig\TwigFunction; alias 68 * @return TwigFunction[]
|
H A D | DebugExtension.php | 13 use Twig\TwigFunction; alias 33 …new TwigFunction('dump', 'twig_var_dump', ['is_safe' => $isDumpOutputHtmlSafe ? ['html'] : [], 'ne…
|
H A D | CoreExtension.php | 32 use Twig\TwigFunction; alias 223 new TwigFunction('max', 'max'), 224 new TwigFunction('min', 'min'), 225 new TwigFunction('range', 'range'), 226 new TwigFunction('constant', 'twig_constant'), 227 new TwigFunction('cycle', 'twig_cycle'), 228 new TwigFunction('random', 'twig_random', ['needs_environment' => true]), 229 new TwigFunction('date', 'twig_date_converter', ['needs_environment' => true]), 230 …new TwigFunction('include', 'twig_include', ['needs_environment' => true, 'needs_context' => true,… 231 … new TwigFunction('source', 'twig_source', ['needs_environment' => true, 'is_safe' => ['all']]),
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Util/ |
H A D | DeprecationCollectorTest.php | 13 use Twig\TwigFunction; alias 24 $twig->addFunction(new TwigFunction('deprec', [$this, 'deprec'], ['deprecated' => true]));
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/ |
H A D | DeprecatedTest.php | 19 use Twig\TwigFunction; alias 62 $environment->addFunction(new TwigFunction('foo', 'foo', []));
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/PHP53/ |
H A D | FunctionInclude.php | 4 $env->addFunction(new \Twig\TwigFunction('anonymous', function () {}));
|
/plugin/findologicxmlexport/vendor/twig/twig/src/ |
H A D | TwigFunction.php | 23 class TwigFunction class
|
H A D | Environment.php | 1291 …* @param string|TwigFunction $name The function name or a \Twig_SimpleFunctio… 1296 …if (!$name instanceof TwigFunction && !($function instanceof TwigFunction || $function instanceof … 1300 if ($name instanceof TwigFunction) { 1568 if ($function instanceof TwigFunction) {
|
H A D | ExpressionParser.php | 695 if ($function instanceof TwigFunction && $function->isDeprecated()) { 709 if ($function instanceof TwigFunction) {
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/ |
H A D | IntegrationTestCase.php | 23 use Twig\TwigFunction; alias 64 * @return TwigFunction[]
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/ |
H A D | deprecated.rst | 81 * As of Twig 1.x, use ``\Twig\TwigFunction`` to add a function. The following 91 * As of Twig 2.x, the ``\Twig\TwigFunction`` class is deprecated and will be 93 ``\Twig\TwigFunction`` is just an alias for ``Twig_Function``.
|
H A D | advanced.rst | 298 an instance of ``\Twig\TwigFunction``:: 301 $function = new \Twig\TwigFunction('function_name', function () { 634 * @return \Twig\TwigFunction[] 722 new \Twig\TwigFunction('lipsum', 'generate_lipsum'), 839 new \Twig\TwigFunction('rot13', [$this, 'rot13']), 903 new \Twig\TwigFunction('rot13', ['Project_Twig_RuntimeExtension', 'rot13']), 905 new \Twig\TwigFunction('rot13', 'Project_Twig_RuntimeExtension::rot13'),
|
H A D | recipes.rst | 283 return new \Twig\TwigFunction($name, $name);
|
H A D | advanced_legacy.rst | 576 * @return \Twig\TwigFunction[]
|