PHP Classes

File: vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/full.php

Recommend this page to a friend!
  Packages of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/full.php   Download  
File: vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/full.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 10 years ago
Size: 623 bytes
 

 

Contents

Class file image Download
<?php

$container->loadFromExtension('twig', array(
    'form_themes' => array(
        'MyBundle::form.html.twig',
    ),
    'globals' => array(
        'foo' => '@bar',
        'baz' => '@@qux',
        'pi' => 3.14,
        'bad' => array('key' => 'foo'),
    ),
    'auto_reload' => true,
    'autoescape' => true,
    'base_template_class' => 'stdClass',
    'cache' => '/tmp',
    'charset' => 'ISO-8859-1',
    'debug' => true,
    'strict_variables' => true,
    'paths' => array(
        'path1',
        'path2',
        'namespaced_path1' => 'namespace1',
        'namespaced_path2' => 'namespace2',
    ),
));