title: How to create a something like Zend preDispatch method in Symfony2
body: <p>I'm making a project using a Symfony 2 and I need to have method like preDispatch in Zend which will be called before any action in the Controller. I'm very new in Symfony and a little bit surfing the net I've found that there was a preExecute method in older versions of Symfony but now it's gone. What can I use to solve my problem?</p>
  
  <p>Thanks in advance.</p>