public function setConfig($config) { $this->config = $config; $this->factory = new Factory($config); $this->AssetBuild->setConfig($config); }