KnpGaufretteBundle/Resources/config/gaufrette.xml
2011-05-13 07:19:17 +02:00

32 lines
1.6 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\Filesystem</parameter>
<parameter key="knplabs_gaufrette.adapter.in_memory.class">Gaufrette\Filesystem\Adapter\InMemory</parameter>
<parameter key="knplabs_gaufrette.adapter.local.class">Gaufrette\Filesystem\Adapter\Local</parameter>
<parameter key="knplabs_gaufrette.adapter.safe_local.class">Gaufrette\Filesystem\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>
</services>
</container>