Location: PHPKode > scripts > Extensionparser > gbirke-php-extensionparser-9580c10/test/lib/Eventrecorder.php
<?php
/* .
 */

/**
 * Eventrecorder stores events as array
 *
 * @author birke
 */
class Eventrecorder implements Dialplan_Parser_IExtensionObserver {

  protected $_notifications = array();

  public function update($emitter, $notification) {
    $this->_notifications[] = $notification;
  }

  public function getNotifications() {
    return $this->_notifications;
  }
}
?>
Return current item: Extensionparser