Doctrine example