1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Merge pull request #31 from Infranology/typos

fixed constants typos in "Entity State"
This commit is contained in:
Guilherme Blanco 2011-06-01 20:19:12 -07:00
commit 26c2690536

View File

@ -604,13 +604,13 @@ underlying ``UnitOfWork``:
<?php
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:
...
}