public static function getChangelog(): string
    {
        $changelogFilename = __DIR__ . '/../../CHANGELOG_API.md';
        if (\file_exists($changelogFilename)) {
            $string = \str_replace(["\r\n", "\r"], "\n", \trim(\file_get_contents($changelogFilename)));
            if ($string) {
                return $string;
            }
            throw new PhpfastcacheLogicException('Unable to retrieve the PhpFastCache API changelog as it seems to be empty.');
        }
        throw new PhpfastcacheIOException('The CHANGELOG_API.md file is not readable or has been removed.');
    }
public static function getChangelog(): string
    {
        $changelogFilename = __DIR__ . '/../../CHANGELOG_API.md';
        if (\file_exists($changelogFilename)) {
            $string = \str_replace(["\r\n", "\r"], "\n", \trim(\file_get_contents($changelogFilename)));
            if ($string) {
                return $string;
            }
            throw new PhpfastcacheLogicException('Unable to retrieve the PhpFastCache API changelog as it seems to be empty.');
        }
        throw new PhpfastcacheIOException('The CHANGELOG_API.md file is not readable or has been removed.');
    }
public static function getChangelog ( ) : string { $ changelogFilename = __DIR__ . '/../../CHANGELOG_API.md' ; if ( \ file_exists ( $ changelogFilename ) ) { $ string = \ str_replace ( [ "\r\n" , "\r" ] , "\n" , \ trim ( \ file_get_contents ( $ changelogFilename ) ) ) ; if ( $ string ) { return $ string ; } throw new PhpfastcacheLogicException ( 'Unable to retrieve the PhpFastCache API changelog as it seems to be empty.' ) ; } throw new PhpfastcacheIOException ( 'The CHANGELOG_API.md file is not readable or has been removed.' ) ; }
Return the API changelog, as a string.
@return string
@throws PhpfastcacheLogicException
@throws PhpfastcacheIOException
Return the API changelog as a string .