Properties

$account

$account : \EasyWeChat\OpenPlatform\Authorizer\Aggregate\Account\Client

Type

\EasyWeChat\OpenPlatform\Authorizer\Aggregate\Account\Client

$code

$code : \EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Code\Client

Type

\EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Code\Client

$domain

$domain : \EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Domain\Client

Type

\EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Domain\Client

$tester

$tester : \EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Tester\Client

Type

\EasyWeChat\OpenPlatform\Authorizer\MiniProgram\Tester\Client

$access_token

$access_token : \EasyWeChat\MiniProgram\Auth\AccessToken

Type

\EasyWeChat\MiniProgram\Auth\AccessToken

$data_cube

$data_cube : \EasyWeChat\MiniProgram\DataCube\Client

Type

\EasyWeChat\MiniProgram\DataCube\Client

$app_code

$app_code : \EasyWeChat\MiniProgram\AppCode\Client

Type

\EasyWeChat\MiniProgram\AppCode\Client

$auth

$auth : \EasyWeChat\MiniProgram\Auth\Client

Type

\EasyWeChat\MiniProgram\Auth\Client

$server

$server : \EasyWeChat\OfficialAccount\Server\Guard

Type

\EasyWeChat\OfficialAccount\Server\Guard

$encryptor

$encryptor : \EasyWeChat\MiniProgram\Encryptor

Type

\EasyWeChat\MiniProgram\Encryptor

$template_message

$template_message : \EasyWeChat\MiniProgram\TemplateMessage\Client

Type

\EasyWeChat\MiniProgram\TemplateMessage\Client

$customer_service

$customer_service : \EasyWeChat\OfficialAccount\CustomerService\Client

Type

\EasyWeChat\OfficialAccount\CustomerService\Client

$media

$media : \EasyWeChat\BasicService\Media\Client

Type

\EasyWeChat\BasicService\Media\Client

$content_security

$content_security : \EasyWeChat\BasicService\ContentSecurity\Client

Type

\EasyWeChat\BasicService\ContentSecurity\Client

$config

$config : \EasyWeChat\Kernel\Config

Type

\EasyWeChat\Kernel\Config

$request

$request : \Symfony\Component\HttpFoundation\Request

Type

\Symfony\Component\HttpFoundation\Request

$http_client

$http_client : \GuzzleHttp\Client

Type

\GuzzleHttp\Client

$logger

$logger : \Monolog\Logger

Type

\Monolog\Logger

$providers

$providers : array

Type

array

$id

$id : string

Type

string

$defaultConfig

$defaultConfig : array

Type

array

$userConfig

$userConfig : array

Type

array

Methods

__construct()

__construct(array  $config = array(), array  $prepends = array()) 

Application constructor.

Parameters

array $config
array $prepends

getId()

getId() : string

Returns

string

getConfig()

getConfig() : array

Returns

array

getProviders()

getProviders() : array

Return all providers.

Returns

array

__get()

__get(string  $id) : mixed

Magic get access.

Parameters

string $id

Returns

mixed

__set()

__set(string  $id, mixed  $value) 

Magic set access.

Parameters

string $id
mixed $value

registerProviders()

registerProviders(array  $providers) 

Parameters

array $providers