XML
````xml
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    my-bundle="http://example.org/schema/dic/my_bundle">
    <my-bundle:config>
        <my-bundle:local directory="%kernel.root_dir%/../web/media/image" />
    </my-bundle:config>
</container>
````

PHP
````php
$container->loadFromExtension('my_bundle', array(
    'local' => array(
        'directory' => '%kernel.root_dir%/../web/media/image',
    ),
));
````