<?php
namespace Maatwebsite\Excel;
use Maatwebsite\Excel\Cache\CacheManager;
use PhpOffice\PhpSpreadsheet\Settings;
class SettingsProvider
{
/**
* @var CacheManager
*/
private $cache;
public function __construct(CacheManager $cache)
{
$this->cache = $cache;
}
/**
* Provide PhpSpreadsheet settings.
*/
public function provide()
{
$this->configureCellCaching();
}
protected function configureCellCaching()
{
Settings::setCache(
$this->cache->driver()
);
}
}
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.