/** * Constructor. * * @param string $appId * @param string $secret * @param Request $request * @param Http $http */ public function __construct($appId, $secret, Request $request, Http $http) { $this->appId = $appId; $this->secret = $secret; $this->request = $request; $this->http = $http->setExpectedException(OAuthHttpException::class); }
/** * Constructor. * * @param string $appId * @param string $secret * @param Cache $cache * @param Http $http */ public function __construct($appId, $secret, Cache $cache, Http $http) { $this->appId = $appId; $this->secret = $secret; $this->cache = $cache; $this->http = $http->setExpectedException(JsHttpException::class); }
/** * Constructor. * * @param string $appId * @param string $secret * @param Input $input * @param Http $http */ public function __construct($appId, $secret, Input $input, Http $http) { $this->appId = $appId; $this->secret = $secret; $this->input = $input; $this->http = $http->setExpectedException('EasyWeChat\\OAuth\\OAuthHttpException'); }
/** * Constructor. * * @param string $appId * @param string $secret * @param Cache $cache * @param Http $http */ public function __construct($appId, $secret, Cache $cache, Http $http) { $this->appId = $appId; $this->secret = $secret; $this->cache = $cache; $this->http = $http->setExpectedException('EasyWeChat\\Js\\JsHttpException'); }
/** * Constructor. * * @param Http $http */ public function __construct(Http $http) { $this->http = $http->setExpectedException(MaterialHttpException::class); }
/** * Constructor. * * @param Http $http */ public function __construct(Http $http) { $this->http = $http->setExpectedException('EasyWeChat\\Store\\StoreHttpException'); }
/** * Constructor. * * @param Http $http * @param Transformer $transformer */ public function __construct(Http $http, Transformer $transformer) { $this->http = $http->setExpectedException(StaffHttpException::class); $this->transformer = $transformer; }
/** * Constructor. * * @param Http $http */ public function __construct(Http $http) { $this->http = $http->setExpectedException(EasyWeChat\Stats\StatsHttpException::class); }
/** * Constructor. * * @param Http $http */ public function __construct(Http $http) { $this->http = $http->setExpectedException(NoticeHttpException::class); $this->messageBackup = $this->message; }
/** * Constructor. * * @param Http $http */ public function __construct(Http $http) { $this->http = $http->setExpectedException('EasyWeChat\\User\\GroupHttpException'); }
/** * Constructor. * * @param string $appId * @param Http $http */ public function __construct($appId, Http $http) { $this->appId = $appId; $this->http = $http->setExpectedException('EasyWeChat\\Semantic\\SemanticHttpException'); }
/** * Constructor. * * @param Http $http * @param Cache $cache */ public function __construct(Http $http, Cache $cache) { $this->http = $http->setExpectedException(CardHttpException::class); $this->cache = $cache; }
/** * Constructor. * * @param Http $http * @param Cache $cache */ public function __construct(Http $http, Cache $cache) { $this->http = $http->setExpectedException('EasyWeChat\\Card\\CardHttpException'); $this->cache = $cache; }
/** * Constructor. * * @param Http $http * @param Transformer $transformer */ public function __construct(Http $http, Transformer $transformer) { $this->http = $http->setExpectedException('EasyWeChat\\Staff\\StaffHttpException'); $this->transformer = $transformer; }
/** * Constructor. * * @param Merchant $merchant * @param Http $http */ public function __construct(Merchant $merchant, Http $http) { $this->merchant = $merchant; $this->http = $http->setExpectedException(PaymentHttpException::class); }
/** * Constructor. * * @param string $appId * @param Http $http */ public function __construct($appId, Http $http) { $this->appId = $appId; $this->http = $http->setExpectedException(SemanticHttpException::class); }