First commit
This commit is contained in:
41
app/Common/extend/alibabacloud/client/src/Resolver/Rpc.php
Executable file
41
app/Common/extend/alibabacloud/client/src/Resolver/Rpc.php
Executable file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace AlibabaCloud\Client\Resolver;
|
||||
|
||||
use AlibabaCloud\Client\Exception\ClientException;
|
||||
use AlibabaCloud\Client\Request\RpcRequest;
|
||||
use ReflectionException;
|
||||
|
||||
/**
|
||||
* Class Rpc
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
* @package AlibabaCloud\Client\Resolver
|
||||
*/
|
||||
abstract class Rpc extends RpcRequest
|
||||
{
|
||||
use ActionResolverTrait;
|
||||
use CallTrait;
|
||||
|
||||
/**
|
||||
* @param array $options
|
||||
*
|
||||
* @throws ReflectionException
|
||||
* @throws ClientException
|
||||
*/
|
||||
public function __construct(array $options = [])
|
||||
{
|
||||
parent::__construct($options);
|
||||
|
||||
$this->resolveActionName();
|
||||
$this->appendSdkUA();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
private function ¶meterPosition()
|
||||
{
|
||||
return $this->options['query'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user