attachObserver()
attachObserver(\Phabstractic\Patterns\Resource\Phabstractic\Patterns\Resource\ObserverInterface $observer)
Attach An Observer
Attach an observer to this publisher so that it can be notified of state changes
Parameters
\Phabstractic\Patterns\Resource\Phabstractic\Patterns\Resource\ObserverInterface | $observer |