42 lines
769 B
PHP
42 lines
769 B
PHP
![]() |
<?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'];
|
||
|
}
|
||
|
}
|