You are here

public function LifecycleEventArgs::getEntity in Plug 7

Retrieves the associated entity.

Return value

object

1 call to LifecycleEventArgs::getEntity()
PreUpdateEventArgs::assertValidField in lib/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php
Asserts the field exists in changeset.

File

lib/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\Event

Code

public function getEntity() {
  return $this->object;
}