Calculated properties for entities in Symfony