KnpGaufretteBundle/Resources/config/gaufrette.xml
2011-06-18 11:49:55 -07:00

35 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://symfony.com/schema/dic/services"
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">
<parameters>
<parameter key="knplabs_gaufrette.filesystem.class">Gaufrette\Filesystem</parameter>
<parameter key="knplabs_gaufrette.adapter.in_memory.class">Gaufrette\Adapter\InMemory</parameter>
<parameter key="knplabs_gaufrette.adapter.local.class">Gaufrette\Adapter\Local</parameter>
<parameter key="knplabs_gaufrette.adapter.safe_local.class">Gaufrette\Adapter\SafeLocal</parameter>
</parameters>
<services>
<service id="knplabs_gaufrette.filesystem" class="%knplabs_gaufrette.filesystem.class%" abstract="true">
<argument /><!-- The Adapter -->
</service>
<service id="knplabs_gaufrette.adapter.in_memory" class="%knplabs_gaufrette.adapter.in_memory.class%" abstract="true" public="false">
<argument /><!-- Files -->
</service>
<service id="knplabs_gaufrette.adapter.local" class="%knplabs_gaufrette.adapter.local.class%" abstract="true" public="false">
<argument /><!-- Directory -->
<argument /><!-- Create -->
</service>
<service id="knplabs_gaufrette.adapter.safe_local" class="%knplabs_gaufrette.adapter.safe_local.class%" abstract="true" public="false">
<argument /><!-- Directory -->
<argument /><!-- Create -->
</service>
<service id="knplabs_gaufrette.filesystem_map" class="Gaufrette\FilesystemMap">
<argument /> <!-- map of filesystems -->
</service>
</services>
</container>