for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Jsb;
class JsbServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
$service = new Jsb();
Pay::set(Jsb::class, $service);
Pay::set('jsb', $service);
}