HasRevisions
trait HasRevisions (View source)
Methods
HasMany
revisions()
Defines the one-to-many relationship for revisions.
Builder
scopeMine(Builder $query)
Scope a query to only include the current user's revisions.
array
revisionsArray()
Returns an array of revisions for the CMS views.
getRevisionModel()
No description
Details
HasMany
revisions()
Defines the one-to-many relationship for revisions.
Builder
scopeMine(Builder $query)
Scope a query to only include the current user's revisions.
array
revisionsArray()
Returns an array of revisions for the CMS views.
protected
getRevisionModel()
No description