whereIn('slug', $slug)->pluck('value')->toArray() ?? []; } else { return static::query()->where('slug', $slug)->value('value') ?? null; } } }