/** * resets application setup */ private function resetApplicationSetup() { $this->before = []; $this->beforeDefinition = []; $this->after = []; $this->afterDefinition = []; $this->error = []; $this->container->reset(); $this->router->reset(); $this->config->reset(); }