<?php
namespace Illuminate\Routing\Controllers;
use Closure;
use Illuminate\Support\Arr;
class Middleware
{
/**
* The middleware that should be assigned.
*
* @var \Closure|string|array
*/
public $middleware;
/**
* The controller methods the middleware should only apply to.
*
* @var array|null
*/
public $only;
/**
* The controller methods the middleware should not apply to.
*
* @var array|null
*/
public $except;
/**
* Create a new controller middleware definition.
*
* @param \Closure|string|array $middleware
* @return void
*/
public function __construct(Closure|string|array $middleware)
{
$this->middleware = $middleware;
}
/**
* Specify the only controller methods the middleware should apply to.
*
* @param array|string $only
* @return $this
*/
public function only(array|string $only)
{
$this->only = Arr::wrap($only);
return $this;
}
/**
* Specify the controller methods the middleware should not apply to.
*
* @param array|string $only
* @return $this
*/
public function except(array|string $except)
{
$this->except = Arr::wrap($except);
return $this;
}
}
Welcome to the Kueue Pay Payment Gateway Solutions Developer API Documentation. This comprehensive guide will empower you to seamlessly integrate our advanced payment gateway into your website, enhancing your customers’ payment experience and enabling efficient transaction processing. The Kueue Pay Developer API is designed for developers and entrepreneurs who seek simplicity, security, and reliability in their payment processing solutions.
The Kueue Pay Developer API allows you to seamlessly integrate Kueue Pay’s Payment Gateway Solutions into your website, enabling secure and efficient debit and credit card transactions. With our API, you can initiate payments, check payment statuses, and even process refunds, all while ensuring a smooth and streamlined payment experience for your customers.