$api
$api : \EasyWeChat\OpenPlatform\Api\BaseApi
Class OpenPlatform.
$container : \Pimple\Container
Container.
__construct(\Pimple\Container $container)
ContainerAccess constructor.
\Pimple\Container | $container |
__get(string $key) : mixed
Gets a parameter or an object from pimple container.
Get the class basename
of the current class.
Convert class basename
to snake-case and concatenation with dot notation.
E.g. Class 'EasyWechat', $key foo -> 'easy_wechat.foo'
string | $key | The unique identifier for the parameter or object |
If the identifier is not defined
The value of the parameter or an object
createAuthorizerApplication(string $appId, string $refreshToken) : \EasyWeChat\Foundation\Application
Create an instance of the EasyWeChat for the given authorizer.
string | $appId | Authorizer AppId |
string | $refreshToken | Authorizer refresh-token |