\AppDocument

The Document model represents a file attached to a post.

Each document consists of multiple DocumentVersions which contain the references to the concrete files.

Summary

Methods
Properties
Constants
post()
documentVersions()
keywords()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

post()

post() : \Illuminate\Database\Eloquent\Relations\BelongsTo

Relationship to the post.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsTo

documentVersions()

documentVersions() : \Illuminate\Database\Eloquent\Relations\HasMany

Document version relationship.

Returns

\Illuminate\Database\Eloquent\Relations\HasMany

keywords()

keywords() : \Illuminate\Database\Eloquent\Relations\BelongsToMany

Relationship to keyword objects.

Returns

\Illuminate\Database\Eloquent\Relations\BelongsToMany