Neuron-PHP

ObservableTrait

Trait used to make an object observable.

Table of Contents

Properties

$_observers  : array<string|int, mixed>

Methods

addObserver()  : ObservableTrait|ObserveMe
Add an observer to the notification list.
notifyObservers()  : void
removeObserver()  : void
Remove an observer from the notification list.

Properties

Methods

notifyObservers()

public notifyObservers(mixed ...$params) : void
Parameters
$params : mixed

, ...


        
On this page

Search results