nette/nette — pull request #722 by Aearsis (2012-08-05 00:45:17+00:00)
Title: Config - setup: adding event handlers

Reaction to http://forum.nette.org/cs/10869-pridavani-callbacku-do-zivotniho-cyklu-aplikace-pomoci-di . Sadly, only one syntax is supported:

```yaml
- $onEvent[]([@service, "handler"])
```

Other syntaxes would require bigger changes in Neon parser, but I'm not brave enough to make them.
Commit has been tested, number of failures hadn't changed. Also, tests for property setters were added and one little typo corrected.