getCache() getCache() : \Psr\SimpleCache\CacheInterface Get cache instance. Returns \Psr\SimpleCache\CacheInterface
setCache() setCache(\Psr\SimpleCache\CacheInterface $cache) : $this Set cache instance. Parameters \Psr\SimpleCache\CacheInterface $cache Returns $this
__construct() __construct(\EasyWeChat\OpenPlatform\Application $app) Constructor. Parameters \EasyWeChat\OpenPlatform\Application $app
setTicket() setTicket(string $ticket) : $this Put the credential `component_verify_ticket` in cache. Parameters string $ticket Throws \Psr\SimpleCache\InvalidArgumentException Returns $this
getTicket() getTicket() : string Get the credential `component_verify_ticket` from cache. Throws \EasyWeChat\Kernel\Exceptions\RuntimeException \Psr\SimpleCache\InvalidArgumentException Returns string
createDefaultCache() createDefaultCache() : \Symfony\Component\Cache\Simple\FilesystemCache Returns \Symfony\Component\Cache\Simple\FilesystemCache