classes/phing/tasks/ext/zendguard/ZendGuardLicenseTask.php
protected function generateLicenseTemplate()
    {
        $this->tmpLicensePath = tempnam(sys_get_temp_dir(), 'zendlicense');

        $this->log("Creating temporary license template " . $this->tmpLicensePath, Project::MSG_VERBOSE);
        if (file_put_contents($this->tmpLicensePath, $this->generateLicenseTemplateContent()) === false) {
            throw new BuildException("Unable to create temporary template license file: " . $this->tmpLicensePath);
        }

        return $this->tmpLicensePath;
    }
protected function generateLicenseTemplate()
    {
        $this->tmpLicensePath = tempnam(sys_get_temp_dir(), 'zendlicense');

        $this->log("Creating temporary license template " . $this->tmpLicensePath, Project::MSG_VERBOSE);
        if (file_put_contents($this->tmpLicensePath, $this->generateLicenseTemplateContent()) === false) {
            throw new BuildException("Unable to create temporary template license file: " . $this->tmpLicensePath);
        }

        return $this->tmpLicensePath;
    }
protected function generateLicenseTemplate ( ) { $ this -> tmpLicensePath = tempnam ( sys_get_temp_dir ( ) , 'zendlicense' ) ; $ this -> log ( "Creating temporary license template " . $ this -> tmpLicensePath , Project :: MSG_VERBOSE ) ; if ( file_put_contents ( $ this -> tmpLicensePath , $ this -> generateLicenseTemplateContent ( ) ) === false ) { throw new BuildException ( "Unable to create temporary template license file: " . $ this -> tmpLicensePath ) ; } return $ this -> tmpLicensePath ; }
It will generate a temporary license template
based on the properties defined.

@throws BuildException
@return string Path of the temporary license template file
It will generate a temporary license template based on the properties defined .