\EasyWeChat\OpenWork\SuiteAuthSuiteTicket

SuiteTicket.

Summary

Methods
Properties
Constants
getCache()
setCache()
__construct()
setTicket()
getTicket()
No public properties found
No constants found
createDefaultCache()
getCacheKey()
$cache
$app
N/A
No private methods found
No private properties found
N/A

Properties

$cache

$cache : \Psr\SimpleCache\CacheInterface

Type

\Psr\SimpleCache\CacheInterface

Methods

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

setTicket()

setTicket(string  $ticket) : $this

Parameters

string $ticket

Throws

\Psr\SimpleCache\InvalidArgumentException

Returns

$this

getTicket()

getTicket() : string

Throws

\EasyWeChat\Kernel\Exceptions\RuntimeException
\Psr\SimpleCache\InvalidArgumentException

Returns

string

createDefaultCache()

createDefaultCache() : \Symfony\Component\Cache\Simple\FilesystemCache

Returns

\Symfony\Component\Cache\Simple\FilesystemCache

getCacheKey()

getCacheKey() : string

Returns

string