public function LifecycleEventArgs::getEntity in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php \Doctrine\Common\Persistence\Event\LifecycleEventArgs::getEntity()
Retrieves the associated entity.
Return value
object
1 call to LifecycleEventArgs::getEntity()
- PreUpdateEventArgs::assertValidField in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ PreUpdateEventArgs.php - Asserts the field exists in changeset.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Event/ LifecycleEventArgs.php, line 65
Class
- LifecycleEventArgs
- Lifecycle Events are triggered by the UnitOfWork during lifecycle transitions of entities.
Namespace
Doctrine\Common\Persistence\EventCode
public function getEntity() {
return $this->object;
}