PHP Classes

File: vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/legacy_templating_assets.php

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

Contents

Class file image Download
<?php

$container
->loadFromExtension('framework', array(
   
'templating' => array(
       
'engines' => array('php'),
       
'assets_version' => 'SomeVersionScheme',
       
'assets_base_urls' => 'http://cdn.example.com',
       
'assets_version_format' => '%%s?version=%%s',
       
'packages' => array(
           
'images' => array(
               
'version' => '1.0.0',
               
'base_urls' => array('http://images1.example.com', 'http://images2.example.com'),
            ),
           
'foo' => array(
               
'version' => '1.0.0',
               
'version_format' => '%%s-%%s',
            ),
           
'bar' => array(
               
'base_urls' => array('https://bar2.example.com'),
            ),
        ),
    ),
));