File "Event.php"

Full Path: /home/fundopuh/trader.fxex.org/vendor/maatwebsite/excel/src/Events/Event.php
File size: 437 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Maatwebsite\Excel\Events;

abstract class Event
{
    /**
     * @return object
     */
    abstract public function getConcernable();

    /**
     * @return mixed
     */
    abstract public function getDelegate();

    /**
     * @param  string  $concern
     * @return bool
     */
    public function appliesToConcern(string $concern): bool
    {
        return $this->getConcernable() instanceof $concern;
    }
}