1
0
mirror of synced 2024-12-14 15:16:04 +03:00

fixed constants typos in "Entity State"

This commit is contained in:
Eriksen Costa 2011-06-02 00:14:46 -03:00
parent 48cf91a3d0
commit 729ad9e5c9

View File

@ -604,13 +604,13 @@ underlying ``UnitOfWork``:
<?php <?php
switch ($em->getUnitOfWork()->getEntityState($entity)) { switch ($em->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:
... ...
} }