ObjectMonitoringInterface

An interface how to monitor changes on an object and its properties. All domain objects which should be persisted need to implement the below interface.

Tags
see
AbstractEntity
see
AbstractValueObject

Table of Contents

Methods

_isDirty()  : bool
Returns TRUE if the properties were modified after reconstitution
_memorizeCleanState()  : void
Register an object's clean state, e.g. after it has been reconstituted from the database

Methods

_isDirty()

Returns TRUE if the properties were modified after reconstitution

public _isDirty([non-empty-string|null $propertyName = null ]) : bool
Parameters
$propertyName : non-empty-string|null = null
Return values
bool

_memorizeCleanState()

Register an object's clean state, e.g. after it has been reconstituted from the database

public _memorizeCleanState([non-empty-string|null $propertyName = null ]) : void
Parameters
$propertyName : non-empty-string|null = null

        
On this page

Search results