source/Setup/Utilities.php
public function getLicenseContent($languageId)
    {
        $licensePathElements = [
            $this->getSetupDirectory(),
            ucfirst($languageId),
            self::LICENSE_TEXT_FILENAME
        ];
        $licensePath = implode(DIRECTORY_SEPARATOR, $licensePathElements);

        $licenseContent = $this->getFileContents($licensePath);

        return $licenseContent;
    }
public function getLicenseContent($languageId)
    {
        $licensePathElements = [
            $this->getSetupDirectory(),
            ucfirst($languageId),
            self::LICENSE_TEXT_FILENAME
        ];
        $licensePath = implode(DIRECTORY_SEPARATOR, $licensePathElements);

        $licenseContent = $this->getFileContents($licensePath);

        return $licenseContent;
    }
public function getLicenseContent ( $ languageId ) { $ licensePathElements = [ $ this -> getSetupDirectory ( ) , ucfirst ( $ languageId ) , self :: LICENSE_TEXT_FILENAME ] ; $ licensePath = implode ( DIRECTORY_SEPARATOR , $ licensePathElements ) ; $ licenseContent = $ this -> getFileContents ( $ licensePath ) ; return $ licenseContent ; }
Returns the contents of license agreement in requested language.

@param string $languageId
@return string
Returns the contents of license agreement in requested language .