JObservableInterface::attachObserver
Adds an observer to this JObservableInterface instance.
Ideally, this method should be called fron the constructor of JObserverInterface which should be instanciated by JObserverMapper. The implementation of this function can use JObserverUpdater
Signature
public function attachObserver(JObserverInterface
$observer )
Parameters
-
$observer
- The observer to attach to $this observable subject
Returns
- void