Esempio n. 1
0
 /**
  * Configures the application.
  *
  * The `configure` event of class {@link Core\ConfigureEvent} is fired after the application
  * is configured. Event hooks may use this event to further configure the application.
  */
 protected function configure()
 {
     $this->change_status(self::STATUS_CONFIGURING, function () {
         Debug::configure($this->configs['debug']);
         Prototype::configure($this->configs['prototype']);
         $this->events;
         new Core\ConfigureEvent($this);
     });
 }