<?php
namespace App\Providers\ExcelEntrancesReport;

use App\Providers\ExcelReport\ExcelReport;

class ExcelEntrancesReport {

    public function exportToExcel($oData) {
        $report = new ExcelReport();

        $report->exportToExcel(
            $oData,
            (object)[
                'title' => 'TICKETS',
                'rowLength' => 1
            ],
            [
                new ColumnsWidth(),
                new EntrancesCells()
            ],  
        );
    }
}