src/Storage/DatabaseEntriesRepository.php
protected function storeTags($results)
    {
        $this->table('telescope_entries_tags')->insert($results->flatMap(function ($tags, $uuid) {
            return collect($tags)->map(function ($tag) use ($uuid) {
                return [
                    'entry_uuid' => $uuid,
                    'tag' => $tag,
                ];
            });
        })->all());
    }
protected function storeTags($results)
    {
        $this->table('telescope_entries_tags')->insert($results->flatMap(function ($tags, $uuid) {
            return collect($tags)->map(function ($tag) use ($uuid) {
                return [
                    'entry_uuid' => $uuid,
                    'tag' => $tag,
                ];
            });
        })->all());
    }
protected function storeTags ( $ results ) { $ this -> table ( 'telescope_entries_tags' ) -> insert ( $ results -> flatMap ( function ( $ tags , $ uuid ) { return collect ( $ tags ) -> map ( function ( $ tag ) use ( $ uuid ) { return [ 'entry_uuid' => $ uuid , 'tag' => $ tag , ] ; } ) ; } ) -> all ( ) ) ; }
Store the tags for the given entries.

@param  \Illuminate\Support\Collection  $results
@return void
Store the tags for the given entries .