for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CloudyCity\TencentMarketingSDK\Kernel;
use CloudyCity\TencentMarketingSDK\Kernel\Traits\HasSubInvoker;
class BaseInvoker
{
use HasSubInvoker;
/**
* @var array
*/
protected $providers = [];
* @var string
protected $responseType;
* @return string
protected function getResponseType()
return $this->responseType;
}
* @param string $responseType
protected function setResponseType($responseType)
$this->responseType = $responseType;
public function __construct($advertiserId, $accessToken, $responseType = 'array')
$this->setAdvertiserId($advertiserId);
$this->setAccessToken($accessToken);
$this->setResponseType($responseType);