symfony hooks (tmp solution)