src/Telescope.php
protected static function collectEntries($batchId)
    {
        return collect(static::$entriesQueue)
            ->each(function ($entry) use ($batchId) {
                $entry->batchId($batchId);

                if ($entry->isDump()) {
                    $entry->assignEntryPointFromBatch(static::$entriesQueue);
                }
            });
    }
protected static function collectEntries($batchId)
    {
        return collect(static::$entriesQueue)
            ->each(function ($entry) use ($batchId) {
                $entry->batchId($batchId);

                if ($entry->isDump()) {
                    $entry->assignEntryPointFromBatch(static::$entriesQueue);
                }
            });
    }
protected static function collectEntries ( $ batchId ) { return collect ( static :: $ entriesQueue ) -> each ( function ( $ entry ) use ( $ batchId ) { $ entry -> batchId ( $ batchId ) ; if ( $ entry -> isDump ( ) ) { $ entry -> assignEntryPointFromBatch ( static :: $ entriesQueue ) ; } } ) ; }
Collect the entries for storage.

@param  string  $batchId
@return \Illuminate\Support\Collection
Collect the entries for storage .