<?php

namespace Ignite\Core\Models\Grid;

use Illuminate\Support\Collection;
use Yajra\DataTables\Services\DataTablesExportHandler as YajraDataTablesExportHandler;

class DataTablesExportHandler extends YajraDataTablesExportHandler
{
    /**
     * DataTablesExportHandler constructor.
     *
     * @param Collection $collection
     */
    public function __construct(Collection $collection)
    {
        $this->collection = $collection->lazy();
    }
}
