LINEBotServiceProvider
extends ServiceProvider
in package
Table of Contents
- CONFIG_PATH = __DIR__ . '/config/line-bot.php'
- $apiBindings : mixed
- boot() : void
- Bootstrap any package services.
- register() : void
- Register bindings in the container.
- bindApis() : mixed
Constants
CONFIG_PATH
private
mixed
CONFIG_PATH
= __DIR__ . '/config/line-bot.php'
Properties
$apiBindings
private
static mixed
$apiBindings
= ['line-bot-channel-access-token-api' => ['config' => \LINE\Clients\ChannelAccessToken\Configuration::class, 'api' => \LINE\Clients\ChannelAccessToken\Api\ChannelAccessTokenApi::class], 'line-bot-insight-api' => ['config' => \LINE\Clients\Insight\Configuration::class, 'api' => \LINE\Clients\Insight\Api\InsightApi::class], 'line-bot-liff-api' => ['config' => \LINE\Clients\Liff\Configuration::class, 'api' => \LINE\Clients\Liff\Api\LiffApi::class], 'line-bot-manage-audience-api' => ['config' => \LINE\Clients\ManageAudience\Configuration::class, 'api' => \LINE\Clients\ManageAudience\Api\ManageAudienceApi::class], 'line-bot-manage-audience-blob-api' => ['config' => \LINE\Clients\ManageAudience\Configuration::class, 'api' => \LINE\Clients\ManageAudience\Api\ManageAudienceBlobApi::class], 'line-bot-messaging-api' => ['config' => \LINE\Clients\MessagingApi\Configuration::class, 'api' => \LINE\Clients\MessagingApi\Api\MessagingApiApi::class], 'line-bot-messaging-blob-api' => ['config' => \LINE\Clients\MessagingApi\Configuration::class, 'api' => \LINE\Clients\MessagingApi\Api\MessagingApiBlobApi::class]]
Methods
boot()
Bootstrap any package services.
public
boot() : void
Return values
void —register()
Register bindings in the container.
public
register() : void
Return values
void —bindApis()
private
bindApis(mixed $facadeName, mixed $clientClass, mixed $configClass) : mixed
Parameters
- $facadeName : mixed
- $clientClass : mixed
- $configClass : mixed