willdurand/StateMachineBehavior — pull request #8 by havvg (2012-09-11 19:45:16+00:00)
Title: add named state

This allows to retrieve a string version of the state the object is in.

Useful for example (Twig + Translator) when translating the state of the object.
```jinja
{{ ('state.'~rating.namedState)|trans }}
```

This results in a translation key like `state.unpublished` for example.