$publisherObservers
$publisherObservers : \Phabstractic\Patterns\Phabstractic\Data\Types\RestrictedSet
The observers (restricted set) that are listening to this publisher
Publisher Class - The basic minimal publisher functionality
This object keeps track of a state, thus implementing the state interface When that state changes it notifies all the observer objects its collected in its restricted set.
CHANGELOG
1.0 created Publisher - August 16th, 2013 2.0 Adapted to Primus2 - August 25th, 2015 3.0: changed from class to trait reformatted for inclusion in phabstractic - July 27th, 2016
attachObserver(\Phabstractic\Patterns\Phabstractic\Patterns\Resource\ObserverInterface $observer)
Attach an observer object to this publisher
This places an observer into the restricted set, as well as establishes this publisher as the observers subject
\Phabstractic\Patterns\Phabstractic\Patterns\Resource\ObserverInterface | $observer |