PFinal\Wechat\SDK\WXBizMsgCrypt::__construct PHP Method

__construct() public method

构造函数
public __construct ( $token, $encodingAesKey, $appId )
$token string 公众平台上,开发者设置的token
$encodingAesKey string 公众平台上,开发者设置的EncodingAESKey
$appId string 公众平台的appId
    public function __construct($token, $encodingAesKey, $appId)
    {
        $this->token = $token;
        $this->encodingAesKey = $encodingAesKey;
        $this->appId = $appId;
    }