document() document() : \Illuminate\Database\Eloquent\Relations\BelongsTo Returns the relationship to the related document model. Returns \Illuminate\Database\Eloquent\Relations\BelongsTo
writeContent() writeContent( $content) Writes the content of the document to the disk. Parameters $content file content as string or stream
filesizeBytes() filesizeBytes() : mixed Returns the document's size in bytes. Returns mixed — number of bytes.