1
0
Fork 0
mirror of synced 2025-04-02 12:56:16 +03:00

Merge pull request 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:
...
}