Skip to content

Instantly share code, notes, and snippets.

@richsage
Created September 20, 2011 14:03
Show Gist options
  • Save richsage/1229135 to your computer and use it in GitHub Desktop.
Save richsage/1229135 to your computer and use it in GitHub Desktop.
services:
my.twig.helperextension:
class: My\OwnBundle\Twig\Extension\MyHelperExtension
tags:
- { name: twig.extension, alias: myhelperextension }
my.notificationsextension:
class: My\OwnBundle\Twig\Extension\NotificationsExtension
arguments:
container: "@service_container"
context: "@security.context"
tags:
- { name: twig.extension, alias: mynotify }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment