Свойство | Type | Description | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$client | |||
$config | Illuminate\Contracts\Config\Repository | ||
$listeners | array | The registered event listeners. | |
$webhooks | array | All registered webhooks. |
Méthode | 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 ) |
Méthode | 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 | ||
Résultat | Illuminate\Contracts\Cache\Repository |
public getWebhooks ( ) : |
||
Résultat |
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 | ||
Résultat | Illuminate\Contracts\Cache\Repository |
protected Repository,Illuminate\Contracts\Config $config | ||
Résultat | Illuminate\Contracts\Config\Repository |
protected array $listeners | ||
Résultat | array |