fabpot/Twig — pull request #1036 by max107 (2013-03-21 17:32:07+00:00)
Title: Parse hash key with '' as string, without '' as variable and support method() as key.

Example with old code:
```
{% block breadcrumbs %}
{% set name = t("Pages", 'pages') %}
{% set breadcrumbs = [
{name: url('//pages/admin/pagesadmin/admin')}
]|merge(breadcrumbs) %}

{{ parent() }}
{% endblock %}
```

`name` key - string

First example with new code:
```
{% block breadcrumbs %}
{% set breadcrumbs = [
{t('Pages', 'pages'): url('//pages/admin/pagesadmin/admin')}
]|merge(breadcrumbs) %}

{{ parent() }}
{% endblock %}
```

or

```
{% block breadcrumbs %}
{% set name = t("Pages", 'pages') %}
{% set breadcrumbs = [
{name: url('//pages/admin/pagesadmin/admin')}
]|merge(breadcrumbs) %}

{{ parent() }}
{% endblock %}
```

in this example `name` - variable received from context

P.S. - Sorry, my english so bad.