Skip to content

Instantly share code, notes, and snippets.

@pschultz
Created June 27, 2014 14:59
Show Gist options
  • Save pschultz/f33bfff72692ca0b6916 to your computer and use it in GitHub Desktop.
Save pschultz/f33bfff72692ca0b6916 to your computer and use it in GitHub Desktop.
Enable Twig's Text extension in Symfony 2
services:
twig.extension.text:
class: Twig_Extensions_Extension_Text
tags:
- { name: twig.extension }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment