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.

Return Value

HasMany

Builder scopeMine(Builder $query)

Scope a query to only include the current user's revisions.

Parameters

Builder $query

Return Value

Builder

array revisionsArray()

Returns an array of revisions for the CMS views.

Return Value

array

protected getRevisionModel()

No description