library/Garp/Util/AssetUrl.php
public function getRevManifest(): array {
        if (is_null(self::$_revManifest)) {
            $manifestPath = APPLICATION_PATH . '/../rev-manifest-' . APPLICATION_ENV . '.json';
            self::$_revManifest = file_exists($manifestPath)
                ? json_decode(file_get_contents($manifestPath), true)
                : [];
        }
        return self::$_revManifest;
    }
public function getRevManifest(): array {
        if (is_null(self::$_revManifest)) {
            $manifestPath = APPLICATION_PATH . '/../rev-manifest-' . APPLICATION_ENV . '.json';
            self::$_revManifest = file_exists($manifestPath)
                ? json_decode(file_get_contents($manifestPath), true)
                : [];
        }
        return self::$_revManifest;
    }
public function getRevManifest ( ) : array { if ( is_null ( self :: $ _revManifest ) ) { $ manifestPath = APPLICATION_PATH . '/../rev-manifest-' . APPLICATION_ENV . '.json' ; self :: $ _revManifest = file_exists ( $ manifestPath ) ? json_decode ( file_get_contents ( $ manifestPath ) , true ) : [ ] ; } return self :: $ _revManifest ; }
Read rev-manifest file, generated by a process like gulp-rev.
It maps original filenames to hashes ones.
Note that it is cached statically to be saved during the runtime of the script.

@return string
Read rev - manifest file generated by a process like gulp - rev . It maps original filenames to hashes ones . Note that it is cached statically to be saved during the runtime of the script .