Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/././../../vendor/maatwebsite/excel/./src/Events/../././Events
الملفات الموجودة في هذا الـ Path:
.
..
AfterImport.php
AfterSheet.php
BeforeExport.php
BeforeImport.php
BeforeSheet.php
BeforeWriting.php
Event.php
ImportFailed.php

مشاهدة ملف: BeforeSheet.php

<?php

namespace Maatwebsite\Excel\Events;

use Maatwebsite\Excel\Sheet;

class BeforeSheet extends Event
{
    /**
     * @var Sheet
     */
    public $sheet;

    /**
     * @var object
     */
    private $exportable;

    /**
     * @param  Sheet  $sheet
     * @param  object  $exportable
     */
    public function __construct(Sheet $sheet, $exportable)
    {
        $this->sheet       = $sheet;
        $this->exportable  = $exportable;
    }

    /**
     * @return Sheet
     */
    public function getSheet(): Sheet
    {
        return $this->sheet;
    }

    /**
     * @return object
     */
    public function getConcernable()
    {
        return $this->exportable;
    }

    /**
     * @return mixed
     */
    public function getDelegate()
    {
        return $this->sheet;
    }
}