FleetCart/Modules/Sms/Facades/Gateway.php
2023-12-03 14:07:47 +00:00

33 lines
773 B
PHP

<?php
namespace Modules\Sms\Facades;
use Modules\Sms\GatewayManager;
use Modules\Sms\GatewayInterface;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Facade;
/**
* @method static Collection all()
* @method static array names()
* @method static GatewayInterface get(string $name)
* @method static GatewayManager register(string $name, callable|object $driver)
* @method static int count()
* @method static bool isEmpty()
* @method static bool isNotEmpty()
*
* @see GatewayManager
*/
class Gateway extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return GatewayManager::class;
}
}