Doctrine active entity