<?php

namespace App\Exports\SafetyAndPrivacy;

use Maatwebsite\Excel\Concerns\WithMultipleSheets;

class AllSheets implements WithMultipleSheets
{
    public function __construct($id, $info_id, $step, $fromDate, $toDate, $province_id)
    {
        $this->id = $id;
        $this->info_id = $info_id;
        $this->step = $step;
        $this->fromDate = $fromDate;
        $this->toDate = $toDate;
        $this->province_id = $province_id;
    }
    public function sheets(): array
    {
        return [
            0 => new SafetyAndPrivacyExport($this->id, $this->info_id, $this->step, $this->fromDate, 
            $this->toDate, $this->province_id),
            
        ];
    }
}
