Flarum\Asset\RevisionCompiler::getRevision PHP Method

getRevision() protected method

protected getRevision ( ) : string | null
return string | null
    protected function getRevision()
    {
        if (file_exists($file = $this->getRevisionFile())) {
            $manifest = json_decode(file_get_contents($file), true);
            return array_get($manifest, $this->filename);
        }
    }