src/Frontend/Compiler/RevisionCompiler.php
protected function getFilenameForRevision(string $revision): string
    {
        $ext = pathinfo($this->filename, PATHINFO_EXTENSION);

        return substr_replace($this->filename, '-'.$revision, -strlen($ext) - 1, 0);
    }
protected function getFilenameForRevision(string $revision): string
    {
        $ext = pathinfo($this->filename, PATHINFO_EXTENSION);

        return substr_replace($this->filename, '-'.$revision, -strlen($ext) - 1, 0);
    }
protected function getFilenameForRevision ( string $ revision ) : string { $ ext = pathinfo ( $ this -> filename , PATHINFO_EXTENSION ) ; return substr_replace ( $ this -> filename , '-' . $ revision , - strlen ( $ ext ) - 1 , 0 ) ; }
Get the filename for the given revision.

@param string $revision
@return string
Get the filename for the given revision .