Components\ContactManager\Models\ContactCategory::scopePublished PHP Метод

scopePublished() публичный Метод

Get all the published contacts that are within the publish date range
public scopePublished ( $query ) : query
Результат query
    public function scopePublished($query)
    {
        return $query->where('status', '=', 'published');
    }