public function reload()
 {
     $this->clearContextFiles();
     $this->contextResources = array_merge(array(), $this->originalContextResources);
     $this->objects = array();
     $this->oneOffRedeploy = false;
     $this->lastPriority = 0;
     $this->clearedContextFiles = false;
     $this->plugins = array();
     $this->pluginDirectories = array();
     $this->enabledPluginDirectories = array();
     ClassLoader::setClassNames(array());
     $this->context = array();
     $this->aliasMap = array();
     $this->events = array();
     if ($this->determineContext) {
         $this->reloadSystem();
     }
     $this->load();
 }