Overview
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
Document $Documents.New(title: string, contentType: string)