public function notify() {
        foreach($this->watchers as $watcher) {
          if ($this->stopNotify === true) {
              break;
          }

          $watcher->update($this);
        }
    }
public function notify() {
        foreach($this->watchers as $watcher) {
          if ($this->stopNotify === true) {
              break;
          }

          $watcher->update($this);
        }
    }
public function notify ( ) { foreach ( $ this -> watchers as $ watcher ) { if ( $ this -> stopNotify === true ) { break ; } $ watcher -> update ( $ this ) ; } }
Notify all available watchers
Notify all available watchers