Properties

$account

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

Type

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

$mini_program

$mini_program : \EasyWeChat\OpenPlatform\Authorizer\OfficialAccount\MiniProgram\Client

Type

\EasyWeChat\OpenPlatform\Authorizer\OfficialAccount\MiniProgram\Client

$media

$media : \EasyWeChat\BasicService\Media\Client

Type

\EasyWeChat\BasicService\Media\Client

$url

$url : \EasyWeChat\BasicService\Url\Client

Type

\EasyWeChat\BasicService\Url\Client

$qrcode

$qrcode : \EasyWeChat\BasicService\QrCode\Client

Type

\EasyWeChat\BasicService\QrCode\Client

$jssdk

$jssdk : \EasyWeChat\BasicService\Jssdk\Client

Type

\EasyWeChat\BasicService\Jssdk\Client

$access_token

$access_token : \EasyWeChat\OfficialAccount\Auth\AccessToken

Type

\EasyWeChat\OfficialAccount\Auth\AccessToken

$server

$server : \EasyWeChat\OfficialAccount\Server\Guard

Type

\EasyWeChat\OfficialAccount\Server\Guard

$user

$user : \EasyWeChat\OfficialAccount\User\UserClient

Type

\EasyWeChat\OfficialAccount\User\UserClient

$user_tag

$user_tag : \EasyWeChat\OfficialAccount\User\TagClient

Type

\EasyWeChat\OfficialAccount\User\TagClient

$menu

$menu : \EasyWeChat\OfficialAccount\Menu\Client

Type

\EasyWeChat\OfficialAccount\Menu\Client

$template_message

$template_message : \EasyWeChat\OfficialAccount\TemplateMessage\Client

Type

\EasyWeChat\OfficialAccount\TemplateMessage\Client

$material

$material : \EasyWeChat\OfficialAccount\Material\Client

Type

\EasyWeChat\OfficialAccount\Material\Client

$customer_service

$customer_service : \EasyWeChat\OfficialAccount\CustomerService\Client

Type

\EasyWeChat\OfficialAccount\CustomerService\Client

$semantic

$semantic : \EasyWeChat\OfficialAccount\Semantic\Client

Type

\EasyWeChat\OfficialAccount\Semantic\Client

$data_cube

$data_cube : \EasyWeChat\OfficialAccount\DataCube\Client

Type

\EasyWeChat\OfficialAccount\DataCube\Client

$auto_reply

$auto_reply : \EasyWeChat\OfficialAccount\AutoReply\Client

Type

\EasyWeChat\OfficialAccount\AutoReply\Client

$broadcasting

$broadcasting : \EasyWeChat\OfficialAccount\Broadcasting\Client

Type

\EasyWeChat\OfficialAccount\Broadcasting\Client

$card

$card : \EasyWeChat\OfficialAccount\Card\Card

Type

\EasyWeChat\OfficialAccount\Card\Card

$device

$device : \EasyWeChat\OfficialAccount\Device\Client

Type

\EasyWeChat\OfficialAccount\Device\Client

$shake_around

$shake_around : \EasyWeChat\OfficialAccount\ShakeAround\ShakeAround

Type

\EasyWeChat\OfficialAccount\ShakeAround\ShakeAround

$poi

$poi : \EasyWeChat\OfficialAccount\POI\Client

Type

\EasyWeChat\OfficialAccount\POI\Client

$base

$base : \EasyWeChat\OfficialAccount\Base\Client

Type

\EasyWeChat\OfficialAccount\Base\Client

$oauth

$oauth : \Overtrue\Socialite\Providers\WeChatProvider

Type

\Overtrue\Socialite\Providers\WeChatProvider

$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