Rating system for symfony2