Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Creates a new document in repository and returns a document instance.

Document $Documents.New(title: string)

Creates a new document in repository and returns a document instance.

Document $Documents.New(title: string, contentType: string)

Arguments

string title
of document
string contentType
of document