public static function themeLists($target = null) { if ($target) { $items = static::where('target', '=', $target)->get(); return array_pluck($items, 'name', 'id'); } }