full.php 623 B

1234567891011121314151617181920212223242526
  1. <?php
  2. $container->loadFromExtension('twig', array(
  3. 'form_themes' => array(
  4. 'MyBundle::form.html.twig',
  5. ),
  6. 'globals' => array(
  7. 'foo' => '@bar',
  8. 'baz' => '@@qux',
  9. 'pi' => 3.14,
  10. 'bad' => array('key' => 'foo'),
  11. ),
  12. 'auto_reload' => true,
  13. 'autoescape' => true,
  14. 'base_template_class' => 'stdClass',
  15. 'cache' => '/tmp',
  16. 'charset' => 'ISO-8859-1',
  17. 'debug' => true,
  18. 'strict_variables' => true,
  19. 'paths' => array(
  20. 'path1',
  21. 'path2',
  22. 'namespaced_path1' => 'namespace1',
  23. 'namespaced_path2' => 'namespace2',
  24. ),
  25. ));