Pickle\Package\PHP\Util\PackageXml::convertChangeLog PHP Method

convertChangeLog() public method

public convertChangeLog ( )
    public function convertChangeLog()
    {
        if (!$this->package) {
            $this->load();
        }
        $convertCl = new ConvertChangeLog($this->xmlPath);
        $convertCl->parse();
        $convertCl->generateReleaseFile();
    }

Usage Example

Example #1
0
 public function process()
 {
     $path = rtrim($this->path, '/\\');
     $pkgXml = new PackageXml($path);
     $package = $pkgXml->getPackage();
     $package->setRootDir($path);
     $pkgXml->convertChangeLog();
     $pkgXml->dump();
     if ($this->cb) {
         $cb = $this->cb;
         $cb($package);
     }
 }