public static function replace(String $file, $data, $replace) : String
    {
        $file = Info::rpath($file);

        if( ! is_file($file))
        {
            return false;
        }

        return Filesystem::replaceData($file, $data, $replace);
    }
public static function replace(String $file, $data, $replace) : String
    {
        $file = Info::rpath($file);

        if( ! is_file($file))
        {
            return false;
        }

        return Filesystem::replaceData($file, $data, $replace);
    }
public static function replace ( String $ file , $ data , $ replace ) : String { $ file = Info :: rpath ( $ file ) ; if ( ! is_file ( $ file ) ) { return false ; } return Filesystem :: replaceData ( $ file , $ data , $ replace ) ; }
Performs data modification on the file.

@param string $file
@param mixed  $data
@param mixed  $replace

@return string
Performs data modification on the file .