/** * Generates php source code from a wsdl file * * @see Config * @param Config $config The config to use for generation * @access public */ public function generate(Config $config) { $this->config = $config; $this->log($this->display('Starting generation')); $wsdl = $this->config->getInputFile(); if (is_array($wsdl)) { foreach ($wsdl as $ws) { $this->load($ws); } } else { $this->load($wsdl); } $this->savePhp(); $this->log($this->display('Generation complete')); }