an initial fight with symfony components and doctrine