A

PublishedScope::apply() — Method in class PublishedScope
Apply the scope to a given Eloquent query builder.
PublishedScope::addWithDrafts() — Method in class PublishedScope
Add the with-drafts extension to the builder.
PublishedScope::addOnlyPublished() — Method in class PublishedScope
Add the only-published extension to the builder.
PublishedScope::addOnlyDrafts() — Method in class PublishedScope
Add the only-drafts extension to the builder.

B

Publishable::bootPublishable() — Method in class Publishable
Boot the has-drafts trait for a model.

D

Publishable::draft() — Method in class Publishable
Save instance of this model as a draft.

E

$PublishedScope#extensionsProperty in class PublishedScope
All of the extensions to be added to the builder.
PublishedScope::extend() — Method in class PublishedScope
Extend the query builder with the needed functions.

G

Publishable::getPublishedAtColumn() — Method in class Publishable
Get the name of the "published at" column.
Publishable::getQualifiedPublishedAtColumn() — Method in class Publishable
Get the fully qualified "published at" column.

I

Publishable::initializePublishable() — Method in class Publishable
Initialize this trait for an instance.
Publishable::isPublished() — Method in class Publishable
Determine if the model instance is published.

P

PublishableClass in namespace Bmatovu\Publishable
Publishable::publish() — Method in class Publishable
Save instance of this model as published.
Publishable::publishing() — Method in class Publishable
Register a "publishing" model event callback with the dispatcher.
Publishable::published() — Method in class Publishable
Register a "published" model event callback with the dispatcher.
PublishedScopeClass in namespace Bmatovu\Publishable

U

Publishable::unpublish() — Method in class Publishable
Toogle model instance state to non-published.
Publishable::unpublishing() — Method in class Publishable
Register a "unpublishing" model event callback with the dispatcher.
Publishable::unpublished() — Method in class Publishable
Register a "unpublished" model event callback with the dispatcher.