for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Unipay\OnlineGateway;
use Yansongda\Pay\Parser\ResponseParser;
use Yansongda\Pay\Plugin\Unipay\GeneralPlugin;
use Yansongda\Pay\Rocket;
class PayPlugin extends GeneralPlugin
{
protected function getUri(Rocket $rocket): string
return 'gateway/api/frontTransReq.do';
}
protected function doSomething(Rocket $rocket): void
$rocket->setDirection(ResponseParser::class);