Home
last modified time | relevance | path

Searched refs:environment (Results 226 – 250 of 270) sorted by last modified time

1234567891011

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DCustomExtensionTest.php53 public function initRuntime(Environment $environment) argument
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
H A Dconfiguration.rst44 debug setting allows you to make the behavior environment specific.
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dtemplate_from_string.rst18 creating your Twig environment::
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dinstallation.rst84 1. Setup the build environment following the `PHP documentation`_
H A Dintro.rst66 environment (``\Twig\Environment``) to store the configuration.
H A Dinternals.rst45 ``tokenize()`` method of an environment::
83 ``parse()`` method of an environment::
116 of an environment::
H A Dadvanced_legacy.rst23 When extending Twig by calling methods on the Twig environment instance,
227 if you want access to the current environment instance in your filter, set the
232 Twig will then pass the current environment as the first argument to the
539 * Initializes the runtime environment.
543 function initRuntime(\Twig\Environment $environment);
682 environment::
763 ``addExtension()`` method on the environment instance::
773 to the Twig environment::
H A Dadvanced.rst152 Then, add the filter to your Twig environment::
189 If you want to access the current environment instance in your filter, set the
191 environment as the first argument to the filter call::
273 arguments, but after the environment and the context. For instance, a call to
595 * Initializes the runtime environment.
601 function initRuntime(\Twig\Environment $environment);
734 environment::
753 to the Twig environment::
855 instance on the environment that knows how to instantiate such runtime classes
H A Dapi.rst11 Twig uses a central object called the **environment** (of class
32 This will create a template environment with the default settings and a loader
39 Notice that the second argument of the environment is an array of options.
49 To load a template from a Twig environment, call the ``load()`` method which
342 environment, making it safe to evaluate untrusted code.
350 Twig environment, as they are registered by default.
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dsandbox.rst5 template, when sandboxing is not enabled globally for the Twig environment:
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DDeprecatedTest.php61 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
62 $environment->addFunction(new TwigFunction('foo', 'foo', []));
68 $compiler = $this->getCompiler($environment);
76 , $environment];
/plugin/findologicxmlexport/vendor/phpspec/prophecy/
H A DREADME.md132 but when put in specific environment, behaves in specific way. Ok, I know, it's cryptic,
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DAbstractExtension.php21 public function initRuntime(Environment $environment) argument
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DNodeTestCase.php27 public function testCompile($node, $source, $environment = null, $isPattern = false) argument
29 $this->assertNodeCompilation($source, $node, $environment, $isPattern);
32 …public function assertNodeCompilation($source, Node $node, Environment $environment = null, $isPat… argument
34 $compiler = $this->getCompiler($environment);
44 protected function getCompiler(Environment $environment = null) argument
46 return new Compiler(null === $environment ? $this->getEnvironment() : $environment);
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/
H A D.scrutinizer.yml2 environment:
/plugin/findologicxmlexport/vendor/sebastian/environment/
H A DREADME.md5 …on](https://poser.pugx.org/sebastian/environment/v/stable.png)](https://packagist.org/packages/seb…
6 …://travis-ci.org/sebastianbergmann/environment.png?branch=master)](https://travis-ci.org/sebastian…
12 composer require sebastian/environment
16 composer require --dev sebastian/environment
/plugin/findologicxmlexport/vendor/jms/metadata/
H A D.scrutinizer.yml2 environment:
H A DCHANGELOG.md73 - Error in Symfony2's production environment \(only\) caused with version \>= 1.4.0 [\#32](https://…
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Descape.rst105 When called by Twig, the callable receives the Twig environment instance, the
H A Draw.rst5 environment with automatic escaping enabled this variable will not be escaped
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFilterTest.php35 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
36 $environment->addFilter(new TwigFilter('bar', 'bar', ['needs_environment' => true]));
37 …$environment->addFilter(new TwigFilter('barbar', 'twig_tests_filter_barbar', ['needs_context' => t…
85 $tests[] = [$node, 'bar($this->env, "abc")', $environment];
88 $tests[] = [$node, 'bar($this->env, "abc", "bar")', $environment];
92 $tests[] = [$node, 'twig_tests_filter_barbar($context, "abc")', $environment];
95 …= [$node, 'twig_tests_filter_barbar($context, "abc", null, null, ["foo" => "bar"])', $environment];
98 $tests[] = [$node, 'twig_tests_filter_barbar($context, "abc", null, "bar")', $environment];
106 …, 'twig_tests_filter_barbar($context, "abc", "1", "2", [0 => "3", "foo" => "bar"])', $environment];
H A DTestTest.php36 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
37 …$environment->addTest(new TwigTest('barbar', 'twig_tests_test_barbar', ['is_variadic' => true, 'ne…
54 $tests[] = [$node, 'twig_tests_test_barbar("abc")', $environment];
57 … $tests[] = [$node, 'twig_tests_test_barbar("abc", null, null, ["foo" => "bar"])', $environment];
60 $tests[] = [$node, 'twig_tests_test_barbar("abc", null, "bar")', $environment];
68 …s[] = [$node, 'twig_tests_test_barbar("abc", "1", "2", [0 => "3", "foo" => "bar"])', $environment];
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/
H A DChangeLog-2.2.md28 * Bumped required version of `sebastian/environment` to 1.3.2 for [#365](https://github.com/sebasti…
34 * Bumped required version of `sebastian/environment` to 1.3.1 for [#365](https://github.com/sebasti…
/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG147 * fixed marking the environment as initialized too early
212 * added template cache invalidation based on more environment options
318 * forbid access to the Twig environment from templates and internal parts of Twig_Template
970 environment constant by the "needs_environment" option:
H A DREADME.rst8 inspired the Twig runtime environment.

1234567891011