coding the design pattern and doctrine 2 ORM