Свойство | Тип | Описание | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$client | |||
$config | Illuminate\Contracts\Config\Repository | ||
$listeners | array | The registered event listeners. | |
$webhooks | array | All registered webhooks. |
Метод | Описание | |
---|---|---|
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 ) |
Метод | Описание | |
---|---|---|
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 | ||
Результат | Illuminate\Contracts\Cache\Repository |
public getWebhooks ( ) : |
||
Результат |
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 | ||
Результат | Illuminate\Contracts\Cache\Repository |
protected Repository,Illuminate\Contracts\Config $config | ||
Результат | Illuminate\Contracts\Config\Repository |
protected array $listeners | ||
Результат | array |