[Symfony2] add voter and compiler pass