<?php
namespace Maatwebsite\Excel\Events;
/**
* @internal
*/
abstract class Event
{
/**
* @var object
*/
protected $concernable;
/**
* @param object $concernable
*/
public function __construct($concernable)
{
$this->concernable = $concernable;
}
/**
* @return object
*/
public function getConcernable()
{
return $this->concernable;
}
/**
* @return mixed
*/
abstract public function getDelegate();
/**
* @param string $concern
* @return bool
*/
public function appliesToConcern(string $concern): bool
{
return $this->getConcernable() instanceof $concern;
}
}
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.