<!---
# This file is part of the ChillDev ProxyTemplating bundle.
#
# @author Rafał Wrzeszcz <rafal.wrzeszcz@wrzasq.pl>
# @copyright 2013 © by Rafał Wrzeszcz - Wrzasq.pl.
# @version 0.0.1
# @since 0.0.1
# @package ChillDev\Bundle\ProxyTemplatingBundle
-->

# Configuration

**ChillDevProxyTemplatingBundle** allows you to define default templating engine to be used in your system (if bundle code makes use of this feature). Bundle's 
configuration namespace is `chilldev_proxytemplating`.

## Templating

For now default templating engine setting is the only one configuration you need (and even only one you can) set up in this bundle. It simply sets default target engine to use by a proxy.

```yaml
chilldev_proxytemplating:
    templating: "twig"
```

## Pitfails

You need to avoid…

### …referencing to same engine

```yaml
framework:
    templating:
        default_engine: "default"
```

this would lead to infinite translating view name to itself.

### …having single engine configured

```yaml
framework:
    templating:
        engines: ["default"]
```

this will not lead you anywhere since default is just a proxy and need destination engine.
