symfony/symfony — pull request #9818 by Seldaek (2013-12-19 00:05:31+00:00)
Title: [TwigBundle] Add command to list twig functions, filters, globals and tests

Sample output:

```
$ app/console twig:doc date
Functions
date(date = null, timezone = null)

Filters
date(format = null, timezone = null)
date_modify(modifier)
```

JSON output also available, could be helpful for IDEs.

Feedback welcome on the command's name. Not really convinced but too late to think of something better.

Credits to @gagarine for the great idea