src/simple/View.php
public static function cacheBust(string $src): string
    {
        if(!file_exists($src))
            return $src;

        $path = pathinfo($src);

        return $path['dirname'].'/'.$path['filename'].'.'.filemtime($src).'.'.$path['extension'];
    }
public static function cacheBust(string $src): string
    {
        if(!file_exists($src))
            return $src;

        $path = pathinfo($src);

        return $path['dirname'].'/'.$path['filename'].'.'.filemtime($src).'.'.$path['extension'];
    }
public static function cacheBust ( string $ src ) : string { if ( ! file_exists ( $ src ) ) return $ src ; $ path = pathinfo ( $ src ) ; return $ path [ 'dirname' ] . '/' . $ path [ 'filename' ] . '.' . filemtime ( $ src ) . '.' . $ path [ 'extension' ] ; }
cacheBust function.

@param string $src

@return string
cacheBust function .