name) ->trim() ->replaceFirst('Baustein', '') ->trim() ->replaceMatches('/ - .*/', ''); } /** * @return array */ public static function forSelect(): array { return static::select('name', 'id')->get()->toArray(); } }