Allow for change filesystem_map service implementation. Prepare
FilesystemMap for extending
This commit is contained in:
parent
fcde48018c
commit
5e4d9c832c
|
@ -13,7 +13,7 @@ class FilesystemMap
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private $map;
|
protected $map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instanciates a new filesystem map
|
* Instanciates a new filesystem map
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
|
<parameters>
|
||||||
|
<parameter key="knp_gaufrette.filesystem_map.class">Knp\Bundle\GaufretteBundle\FilesystemMap</parameter>
|
||||||
|
</parameters>
|
||||||
<services>
|
<services>
|
||||||
<service id="knp_gaufrette.filesystem" class="Gaufrette\Filesystem" abstract="true">
|
<service id="knp_gaufrette.filesystem" class="Gaufrette\Filesystem" abstract="true">
|
||||||
<argument /><!-- The Adapter -->
|
<argument /><!-- The Adapter -->
|
||||||
|
@ -31,7 +34,7 @@
|
||||||
<argument /><!-- prefix -->
|
<argument /><!-- prefix -->
|
||||||
<argument /><!-- ttl -->
|
<argument /><!-- ttl -->
|
||||||
</service>
|
</service>
|
||||||
<service id="knp_gaufrette.filesystem_map" class="Knp\Bundle\GaufretteBundle\FilesystemMap">
|
<service id="knp_gaufrette.filesystem_map" class="%knp_gaufrette.filesystem_map.class%">
|
||||||
<argument /> <!-- map of filesystems -->
|
<argument /> <!-- map of filesystems -->
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user