Ejemplo n.º 1
0
 /**
  * Class Constructor
  * 
  * @param App Reference to the global App object
  */
 public function __construct($app)
 {
     parent::__construct($app);
     // load class
     $this->app->loader->register('AppEvent', 'classes:event.php');
     $this->app->loader->register('AppEventDispatcher', 'classes:event.php');
     // set dispatcher
     if (!isset(self::$_dispatcher)) {
         self::$_dispatcher = new AppEventDispatcher();
     }
 }