Sylius/Sylius — pull request #1180 by amenophis (2014-03-07 23:43:57+00:00)
Title: Use expressionLanguage into ParametersParser

Tries about this implementation : https://github.com/Sylius/Sylius/issues/1179

@Sylius, what do you think ?

```
my_event_index:
pattern: /
methods: [GET]
defaults:
_controller: my.controller.event:indexAction
_sylius:
criteria:
owner: "expression:service('security.context').getToken().getUser()"

my_event_show:
pattern: /{id}
methods: [GET]
defaults:
_controller: my.controller.event:showAction
_sylius:
criteria:
owner: "expression:service('security.context').getToken().getUser()"
```