BaiduApiClient::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $clientId, string $accessToken )
$clientId string Client_id of the baidu thirdparty app or access_key of the developer.
$accessToken string Access token for api call.
    public function __construct($clientId, $accessToken)
    {
        $this->clientId = $clientId;
        $this->accessToken = $accessToken;
    }