This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony
Nicolas Grekas 954e9f13c5 feature #23037 [TwigBundle] Added a RuntimeExtensionInterface to take advantage of autoconfigure (lyrixx)
This PR was merged into the 3.4 branch.

Discussion
----------

[TwigBundle] Added a RuntimeExtensionInterface to take advantage of autoconfigure

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | - (asked by @nicolas-grekas)
| License       | MIT
| Doc PR        | -

---

Before:

```yaml
#app/config/services.yml
services:
    _defaults:
        autoconfigure: true

    AppBundle\Twig\HelloExtension:
        tags: ['twig.runtime']
```

After:

```yaml
#app/config/services.yml
services:
    _defaults:
        autoconfigure: true

#Yes, there are nothing anymore
```

Commits
-------

ba8763b [TwigBundle] Added a RuntimeExtensionInterface to take advantage of autoconfigure
2017-07-12 08:47:27 +02:00
..
Bridge Merge branch '3.3' into 3.4 2017-07-11 09:19:17 +02:00
Bundle [TwigBundle] Added a RuntimeExtensionInterface to take advantage of autoconfigure 2017-07-11 16:22:33 +02:00
Component minor #23476 [VarDumper] Test ReflectionCaster excluding verbosity (maidmaid) 2017-07-11 16:36:03 +02:00