updating from symfony-docs 2.3