public function getRevFile($file)
    {
        $map = $this->getRevMap();
        if (isset($map[$file])) {
            $index = strrpos($file, '.');
            $file = $this->revPrefix . substr($file, 0, $index) . '-' . $map[$file] . substr($file, $index);
        }

        return $file;
    }
public function getRevFile($file)
    {
        $map = $this->getRevMap();
        if (isset($map[$file])) {
            $index = strrpos($file, '.');
            $file = $this->revPrefix . substr($file, 0, $index) . '-' . $map[$file] . substr($file, $index);
        }

        return $file;
    }
public function getRevFile ( $ file ) { $ map = $ this -> getRevMap ( ) ; if ( isset ( $ map [ $ file ] ) ) { $ index = strrpos ( $ file , '.' ) ; $ file = $ this -> revPrefix . substr ( $ file , 0 , $ index ) . '-' . $ map [ $ file ] . substr ( $ file , $ index ) ; } return $ file ; }
Returns the file path contains revision

eg 'assets/article.js' => 'assets/article-a123b456.js'

@param string $file
@return string
Returns the file path contains revision