Files
iTop/lib/symfony/framework-bundle/Tests/DependencyInjection/Fixtures/php/assets.php
Molkobain 5960dc6245 N°2435.1 Portal: Split portal composer.json in 2
- Autoloader for portal files in the itop-portal-base module
- Dependencies moved to root composer.json
- Add autoloader for /core and /application content
2019-08-13 10:34:22 +02:00

33 lines
1.0 KiB
PHP

<?php
$container->loadFromExtension('framework', [
'assets' => [
'version' => 'SomeVersionScheme',
'base_urls' => 'http://cdn.example.com',
'version_format' => '%%s?version=%%s',
'packages' => [
'images_path' => [
'base_path' => '/foo',
],
'images' => [
'version' => '1.0.0',
'base_urls' => ['http://images1.example.com', 'http://images2.example.com'],
],
'foo' => [
'version' => '1.0.0',
'version_format' => '%%s-%%s',
],
'bar' => [
'base_urls' => ['https://bar2.example.com'],
],
'bar_version_strategy' => [
'base_urls' => ['https://bar2.example.com'],
'version_strategy' => 'assets.custom_version_strategy',
],
'json_manifest_strategy' => [
'json_manifest_path' => '/path/to/manifest.json',
],
],
],
]);