private function updateVersionInFile()
  {
    if ($this->myFilename)
    {
      $status = file_put_contents($this->myFilename, $this->myNewVersion['version']);
      if (!$status)
      {
        $this->logError("File %s is not writable", $this->myFilename);
      }
    }
  }
private function updateVersionInFile()
  {
    if ($this->myFilename)
    {
      $status = file_put_contents($this->myFilename, $this->myNewVersion['version']);
      if (!$status)
      {
        $this->logError("File %s is not writable", $this->myFilename);
      }
    }
  }
private function updateVersionInFile ( ) { if ( $ this -> myFilename ) { $ status = file_put_contents ( $ this -> myFilename , $ this -> myNewVersion [ 'version' ] ) ; if ( ! $ status ) { $ this -> logError ( "File %s is not writable" , $ this -> myFilename ) ; } } }
Writes new version number into file if the filename is set.
Writes new version number into file if the filename is set .