public static function boot($dispatch = TRUE) { parent::boot(); self::$dispatcher = new \apf\web\core\Dispatcher(); if ($dispatch) { return self::$dispatcher->dispatch(); } }