public function saveClasses($dir, $createDirectory = false)
    {
        $this->setXmlSource($this->getXML()->saveXML());
        $this->savePhpFiles($dir, $createDirectory);
    }
public function saveClasses($dir, $createDirectory = false)
    {
        $this->setXmlSource($this->getXML()->saveXML());
        $this->savePhpFiles($dir, $createDirectory);
    }
public function saveClasses ( $ dir , $ createDirectory = false ) { $ this -> setXmlSource ( $ this -> getXML ( ) -> saveXML ( ) ) ; $ this -> savePhpFiles ( $ dir , $ createDirectory ) ; }
Save generated classes to directory

@param string  $dir             Directory to save classes to
@param boolean $createDirectory [optional] Create directory, false by default

@return void
Save generated classes to directory