trait HasChannels (View source)

Methods

static 
bootHasChannels()

No description

Channel>
channels()

Get all of the models channels.

scheduleChannel($channel, DateTime $startsAt = null, DateTime $endsAt = null)

No description

MorphToMany
activeChannels()

Return the active channels relationship.

Builder
scopeChannel(Builder $query, Channel|iterable $channel = null, DateTime $startsAt = null, DateTime $endsAt = null)

Apply the channel scope to the query

Details

static bootHasChannels()

No description

Channel> channels()

Get all of the models channels.

Return Value

Channel>

scheduleChannel($channel, DateTime $startsAt = null, DateTime $endsAt = null)

No description

Parameters

$channel
DateTime $startsAt
DateTime $endsAt

MorphToMany activeChannels()

Return the active channels relationship.

Return Value

MorphToMany

Builder scopeChannel(Builder $query, Channel|iterable $channel = null, DateTime $startsAt = null, DateTime $endsAt = null)

Apply the channel scope to the query

Parameters

Builder $query
Channel|iterable $channel
DateTime $startsAt
DateTime $endsAt

Return Value

Builder