HasChannels
trait HasChannels (View source)
Methods
static
bootHasChannels()
No description
Channel>
channels()
Get all of the models channels.
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.
MorphToMany
activeChannels()
Return the active channels relationship.