Use new endPersistence() method when returning PDO models