license = $license; $this->config = $config; } /** * @return EnvironmentConfig */ public function createEnvironmentConfig(): EnvironmentConfig { $environmentConfig = new EnvironmentConfig( $this->config->WFdbhost, $this->config->WFdbname, $this->config->WFdbuser, $this->config->WFdbpass, $this->config->WFdbport, $this->config->WFuserdata, (array)$this->license->getProperties() ); return $environmentConfig; } }