helios-ag/FMBbCodeBundle — pull request #23 by piratadelfuturo (2012-09-27 12:55:18+00:00)
Title: Pass service references as Filters and Hooks

Now services like "@service_container" can be passed as filters and hooks, it still accept classpaths.

```yaml

fm_bbcode:
config:
filters:
- { classname: boom_video, class: \Boom\Bundle\FrontBundle\Decoda\Filter\BoomVideoFilter }
- { classname: boom_gallery, class: "@boom_front.gallery.decoda.filter" }
templates:
- path: %kernel.root_dir%/Resources/Decoda/templates/
filter_sets:
default:
locale: es
xhtml: true
filters: [ default, quote, url, image, boom_video, boom_gallery, list, li, olist, p]

```