Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); namespace Yansongda\Pay\Plugin\Alipay\V2\Fund\PCreditPayI..
Decoded Output download
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Alipay\V2\Fund\PCreditPayInstallment;
use Closure;
use Yansongda\Artful\Contract\PluginInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Artful\Exception\ServiceNotFoundException;
use Yansongda\Artful\Logger;
use Yansongda\Artful\Rocket;
use Yansongda\Pay\Traits\SupportServiceProviderTrait;
/**
* @see https://opendocs.alipay.com/open/02np92?pathHash=de4742e0&ref=api
*/
class ScanPayPlugin implements PluginInterface
{
use SupportServiceProviderTrait;
/**
* @throws ContainerException
* @throws ServiceNotFoundException
*/
public function assembly(Rocket $rocket, Closure $next): Rocket
{
Logger::debug('[Alipay][Fund][PCreditPayInstallment][ScanPayPlugin] ', ['rocket' => $rocket]);
$this->loadAlipayServiceProvider($rocket);
$rocket->mergePayload([
'method' => 'alipay.trade.precreate',
'biz_content' => $rocket->getParams(),
]);
Logger::info('[Alipay][Fund][PCreditPayInstallment][ScanPayPlugin] ', ['rocket' => $rocket]);
return $next($rocket);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Plugin\Alipay\V2\Fund\PCreditPayInstallment;
use Closure;
use Yansongda\Artful\Contract\PluginInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Artful\Exception\ServiceNotFoundException;
use Yansongda\Artful\Logger;
use Yansongda\Artful\Rocket;
use Yansongda\Pay\Traits\SupportServiceProviderTrait;
/**
* @see https://opendocs.alipay.com/open/02np92?pathHash=de4742e0&ref=api
*/
class ScanPayPlugin implements PluginInterface
{
use SupportServiceProviderTrait;
/**
* @throws ContainerException
* @throws ServiceNotFoundException
*/
public function assembly(Rocket $rocket, Closure $next): Rocket
{
Logger::debug('[Alipay][Fund][PCreditPayInstallment][ScanPayPlugin] ', ['rocket' => $rocket]);
$this->loadAlipayServiceProvider($rocket);
$rocket->mergePayload([
'method' => 'alipay.trade.precreate',
'biz_content' => $rocket->getParams(),
]);
Logger::info('[Alipay][Fund][PCreditPayInstallment][ScanPayPlugin] ', ['rocket' => $rocket]);
return $next($rocket);
}
}
Function Calls
None |
Stats
MD5 | 9ff8a616928e742e48bdb191ed0a10fe |
Eval Count | 0 |
Decode Time | 151 ms |