Adding a “preExecute” method to symfony2 controllers

Being a long time user of symfony 1, I soon realized that some of the obvious features I have come to love have been omitted or has not yet been implemented in symfony2. One such feature is the “preExecute” method on controllers