protected function types()
    {
        $types   = app(LogTypes::class)->select(['name', 'id'])->get();
        $options = ['' => trans('antares/logger::messages.all')];
        foreach ($types as $type) {
            array_set($options, $type->name, ucfirst(Str::humanize($type->name)));
        }
        $this->resolveExtensionsUsingApi($options);
        return $options;
    }
protected function types()
    {
        $types   = app(LogTypes::class)->select(['name', 'id'])->get();
        $options = ['' => trans('antares/logger::messages.all')];
        foreach ($types as $type) {
            array_set($options, $type->name, ucfirst(Str::humanize($type->name)));
        }
        $this->resolveExtensionsUsingApi($options);
        return $options;
    }
protected function types ( ) { $ types = app ( LogTypes :: class ) -> select ( [ 'name' , 'id' ] ) -> get ( ) ; $ options = [ '' => trans ( 'antares/logger::messages.all' ) ] ; foreach ( $ types as $ type ) { array_set ( $ options , $ type -> name , ucfirst ( Str :: humanize ( $ type -> name ) ) ) ; } $ this -> resolveExtensionsUsingApi ( $ options ) ; return $ options ; }
Creates select for types

@return String
Creates select for types