PHP Classes

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

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/assets.php   Download  
File: vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/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: 778 bytes
 

Contents

Class file image Download
<?php

$container
->loadFromExtension('framework', array(
   
'assets' => array(
       
'version' => 'SomeVersionScheme',
       
'base_urls' => 'http://cdn.example.com',
       
'version_format' => '%%s?version=%%s',
       
'packages' => array(
           
'images_path' => array(
               
'base_path' => '/foo',
            ),
           
'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'),
            ),
        ),
    ),
));