PHP 클래스 Mpociot\CaptainHook\CaptainHookServiceProvider

상속: extends Illuminate\Support\ServiceProvider
파일 보기 프로젝트 열기: mpociot/captainhook

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Illuminate\Contracts\Cache\Repository
$client GuzzleHttp\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 ( ) : Collection
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.

메소드 상세

boot() 공개 메소드

Bootstrap.
public boot ( )

getCache() 공개 메소드

public getCache ( ) : Illuminate\Contracts\Cache\Repository
리턴 Illuminate\Contracts\Cache\Repository

getWebhooks() 공개 메소드

public getWebhooks ( ) : Collection
리턴 Illuminate\Support\Collection

handleEvent() 공개 메소드

Event listener.
public handleEvent ( $eventData )
$eventData

publishConfig() 보호된 메소드

Publish configuration file.
protected publishConfig ( )

publishMigration() 보호된 메소드

Publish migration.
protected publishMigration ( )

publishSparkResources() 보호된 메소드

protected publishSparkResources ( )

register() 공개 메소드

Register the service provider.
public register ( ) : void
리턴 void

registerCommands() 보호된 메소드

Register the artisan commands.
protected registerCommands ( )

registerEventListeners() 보호된 메소드

Register all active event listeners.
protected registerEventListeners ( )

registerRoutes() 보호된 메소드

Register predefined routes used for Spark.
protected registerRoutes ( )

setCache() 공개 메소드

public setCache ( Illuminate\Contracts\Cache\Repository $cache )
$cache Illuminate\Contracts\Cache\Repository

setClient() 공개 메소드

public setClient ( GuzzleHttp\ClientInterface $client )
$client GuzzleHttp\ClientInterface

setConfig() 공개 메소드

public setConfig ( Illuminate\Contracts\Config\Repository $config )
$config Illuminate\Contracts\Config\Repository

setListeners() 공개 메소드

public setListeners ( array $listeners )
$listeners array

setWebhooks() 공개 메소드

public setWebhooks ( array $webhooks )
$webhooks array

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

protected Repository,Illuminate\Contracts\Cache $cache
리턴 Illuminate\Contracts\Cache\Repository

$client 보호되어 있는 프로퍼티

protected Client,GuzzleHttp $client
리턴 GuzzleHttp\Client

$config 보호되어 있는 프로퍼티

protected Repository,Illuminate\Contracts\Config $config
리턴 Illuminate\Contracts\Config\Repository

$listeners 보호되어 있는 프로퍼티

The registered event listeners.
protected array $listeners
리턴 array

$webhooks 보호되어 있는 프로퍼티

All registered webhooks.
protected array $webhooks
리턴 array