Property | Type | Description | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$client | |||
$config | Illuminate\Contracts\Config\Repository | ||
$listeners | array | The registered event listeners. | |
$webhooks | array | All registered webhooks. |
Method | Description | |
---|---|---|
boot ( ) | Bootstrap. | |
getCache ( ) : Illuminate\Contracts\Cache\Repository | ||
getWebhooks ( ) : |
||
handleEvent ( $eventData ) | Event listener. | |
register ( ) : void | Register the service provider. | |
setCache ( Illuminate\Contracts\Cache\Repository $cache ) | ||
setClient ( GuzzleHttp\ClientInterface $client ) | ||
setConfig ( Illuminate\Contracts\Config\Repository $config ) | ||
setListeners ( array $listeners ) | ||
setWebhooks ( array $webhooks ) |
Method | Description | |
---|---|---|
publishConfig ( ) | Publish configuration file. | |
publishMigration ( ) | Publish migration. | |
publishSparkResources ( ) | ||
registerCommands ( ) | Register the artisan commands. | |
registerEventListeners ( ) | Register all active event listeners. | |
registerRoutes ( ) | Register predefined routes used for Spark. |
public getCache ( ) : Illuminate\Contracts\Cache\Repository | ||
return | Illuminate\Contracts\Cache\Repository |
public getWebhooks ( ) : |
||
return |
protected registerEventListeners ( ) |
protected registerRoutes ( ) |
public setCache ( Illuminate\Contracts\Cache\Repository $cache ) | ||
$cache | Illuminate\Contracts\Cache\Repository |
public setClient ( GuzzleHttp\ClientInterface $client ) | ||
$client | GuzzleHttp\ClientInterface |
public setConfig ( Illuminate\Contracts\Config\Repository $config ) | ||
$config | Illuminate\Contracts\Config\Repository |
protected Repository,Illuminate\Contracts\Cache $cache | ||
return | Illuminate\Contracts\Cache\Repository |
protected Repository,Illuminate\Contracts\Config $config | ||
return | Illuminate\Contracts\Config\Repository |
protected array $listeners | ||
return | array |