public function __construct(Application $app) { $app->getAppInfo()->clearCache(); $app->cache = $app->config = []; $app->collectorList = null; $app->getBootstrapInstance()->bootstrap($app); }