PHP 클래스 Vinelab\Minion\Minion

저자: Abed Halawi ([email protected])
파일 보기 프로젝트 열기: vinelab/minion 1 사용 예제들

공개 메소드들

메소드 설명
getConfig ( string $option = null ) : mixed Get all configuration params or specify a given option.
getRegisteredProviders ( ) : array Get all the currently registered providers.
gimmeASCII ( ) : string Get the ASCII drawing of Dave the minion.
mergeConfig ( array $options ) Merge the current configuration with the given options.
newClient ( ) : Client Get a new Client instance.
newTransportProvider ( ) : Thruway\Transport\PawlTransportProvider Get a new transport provider instance.
register ( Closur\Closure | string $provider ) Register the given provider.
run ( array $options = [] ) Run the server.
transportUrl ( ) : string Get the transport URL that provider should connect to.

메소드 상세

getConfig() 공개 메소드

Get all configuration params or specify a given option.
public getConfig ( string $option = null ) : mixed
$option string
리턴 mixed

getRegisteredProviders() 공개 메소드

Get all the currently registered providers.
public getRegisteredProviders ( ) : array
리턴 array

gimmeASCII() 공개 메소드

Get the ASCII drawing of Dave the minion.
public gimmeASCII ( ) : string
리턴 string

mergeConfig() 공개 메소드

Merge the current configuration with the given options.
public mergeConfig ( array $options )
$options array

newClient() 공개 메소드

Get a new Client instance.
public newClient ( ) : Client
리턴 Client

newTransportProvider() 공개 메소드

Get a new transport provider instance.
public newTransportProvider ( ) : Thruway\Transport\PawlTransportProvider
리턴 Thruway\Transport\PawlTransportProvider

register() 공개 메소드

Register the given provider.
public register ( Closur\Closure | string $provider )
$provider Closur\Closure | string

run() 공개 메소드

Run the server.
public run ( array $options = [] )
$options array

transportUrl() 공개 메소드

Get the transport URL that provider should connect to.
public transportUrl ( ) : string
리턴 string