作者 竞泽

add:facade

  1 +<?php
  2 +
  3 +namespace Lackoxygen\MinPayment\Facade;
  4 +
  5 +use Illuminate\Support\Facades\Facade;
  6 +use Lackoxygen\MinPayment\Contract\ResponseInterface;
  7 +use Lackoxygen\MinPayment\MinPayment;
  8 +
  9 +/**
  10 + * @method static ResponseInterface identifyOrder(\Closure $closure)
  11 + * @method static ResponseInterface customsOrder(\Closure $closure)
  12 + * @method static ResponseInterface customsQuery(\Closure $closure)
  13 + * @method static ResponseInterface verify(array $input, string $signName = 'sign')
  14 + */
  15 +class MinPaymentFacade extends Facade
  16 +{
  17 + /**
  18 + * @return string
  19 + */
  20 + protected static function getFacadeAccessor(): string
  21 + {
  22 + return MinPayment::class;
  23 + }
  24 +}