protected function initPSCStaticClass() { // some legacy static class from older projects PSC::setProject($this->getProject()); // the projectsfactory has the same host config as we have PSC::setProjectsFactory($this->getProjectsFactory()); }