Observer base class

 Methods

Create an instance of this observer

instance(string $model_class) 

Parameters

$model_class

string

name of the model class

Get notified of an event

orm_notify(\Orm\Model $instance, string $event) 

Parameters

$instance

\Orm\Model

$event

string

 Properties

 

<p>list of created observer instances created</p>

$_instances : array