API_TOKEN_GET
API_TOKEN_GET = 'https://api.weixin.qq.com/cgi-bin/token'
Class AccessToken.
$cache : \Doctrine\Common\Cache\Cache
Cache.
$http : \EasyWeChat\Core\Http
Http instance.
__construct(string $appId, string $secret, \Doctrine\Common\Cache\Cache $cache = null)
Constructor.
string | $appId | |
string | $secret | |
\Doctrine\Common\Cache\Cache | $cache |
setCache(\Doctrine\Common\Cache\Cache $cache) : \EasyWeChat\Core\AccessToken
Set cache instance.
\Doctrine\Common\Cache\Cache | $cache |
getCache() : \Doctrine\Common\Cache\Cache
Return the cache manager.
getHttp() : \EasyWeChat\Core\Http
Return the http instance.
setHttp(\EasyWeChat\Core\Http $http) : $this
Set the http instance.
\EasyWeChat\Core\Http | $http |