You are here

protected property TwigSandboxTest::$twig in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php \Drupal\Tests\Core\Template\TwigSandboxTest::twig
  2. 10 core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php \Drupal\Tests\Core\Template\TwigSandboxTest::twig

The Twig environment loaded with the sandbox extension.

Type: \Twig_Environment

File

core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php, line 29
Contains \Drupal\Tests\Core\Template\TwigSandboxTest.

Class

TwigSandboxTest
Tests the twig sandbox policy.

Namespace

Drupal\Tests\Core\Template

Code

protected $twig;