private function AsseticExtensionTest::renderXml

14 calls to AsseticExtensionTest::renderXml()
AsseticExtensionTest::testAbsolutePath in drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php
AsseticExtensionTest::testCombine in drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php
AsseticExtensionTest::testDebug in drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php
AsseticExtensionTest::testFilterFunction in drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php
AsseticExtensionTest::testFilters in drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php

... See full list

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Extension/Twig/AsseticExtensionTest.php, line 208

Class

AsseticExtensionTest

Namespace

Assetic\Test\Extension\Twig

Code

private function renderXml($name, $context = array()) {
  return new \SimpleXMLElement($this->twig
    ->loadTemplate($name)
    ->render($context));
}