PersistenceEvent Class Reference

Detailed Description

PersistentEvent signals create/update/delete operations on a persistent entity.

ingo herwig

Definition at line 22 of file PersistenceEvent.php.

+ Inheritance diagram for PersistenceEvent:

Public Member Functions

 __construct (PersistentObject $object, $action)
 getObject ()
 getAction ()
- Public Member Functions inherited from Event
 stopPropagation ()
 isStopped ()

Public Attributes

const NAME = __CLASS__

Constructor & Destructor Documentation

◆ __construct()

__construct ( PersistentObject  $object,


$objectPersistentObject instance.
$actionOne of the PersistenceAction values.

Definition at line 34 of file PersistenceEvent.php.

Member Function Documentation

◆ getObject()

getObject ( )

Get the object involved.

PersistentObject instance

Definition at line 43 of file PersistenceEvent.php.

◆ getAction()

getAction ( )

Get the action.

PersistenceAction value

Definition at line 51 of file PersistenceEvent.php.

Member Data Documentation


const NAME = __CLASS__

Definition at line 24 of file PersistenceEvent.php.