fixed constants typos in "Entity State"
This commit is contained in:
parent
48cf91a3d0
commit
729ad9e5c9
@ -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:
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user