public function put(string $path, string $contents): bool
    {
        return $this->flySystem->put($path, $contents);
    }
public function put(string $path, string $contents): bool
    {
        return $this->flySystem->put($path, $contents);
    }
public function put ( string $ path , string $ contents ) : bool { return $ this -> flySystem -> put ( $ path , $ contents ) ; }
Write a file or update a file depending on existence.

@param string $path     The path
@param string $contents The contents

@return bool
Write a file or update a file depending on existence .