From 729ad9e5c99cb7c26d557ee9be62aaf3d1c22c3f Mon Sep 17 00:00:00 2001 From: Eriksen Costa Date: Thu, 2 Jun 2011 00:14:46 -0300 Subject: [PATCH] fixed constants typos in "Entity State" --- en/reference/working-with-objects.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/reference/working-with-objects.rst b/en/reference/working-with-objects.rst index f737807d3..736401ac8 100644 --- a/en/reference/working-with-objects.rst +++ b/en/reference/working-with-objects.rst @@ -604,13 +604,13 @@ underlying ``UnitOfWork``: getUnitOfWork()->getEntityState($entity)) { - case UnitOfWork::MANAGED: + case UnitOfWork::STATE_MANAGED: ... - case UnitOfWork::REMOVED: + case UnitOfWork::STATE_REMOVED: ... - case UnitOfWork::DETACHED: + case UnitOfWork::STATE_DETACHED: ... - case UnitOfWork::NEW: + case UnitOfWork::STATE_NEW: ... }