backyard compatibility for symfony 2.1 & php 5.3