interface HandlerResolver (View source)

Methods

mixed
resolveHandler( mixed $command)

Get the handler instance for the given command.

string
getHandlerClass( mixed $command)

Get the handler class for the given command.

string
getHandlerMethod( mixed $command)

Get the handler method for the given command.

void
maps( array $commands)

Register command to handler mappings.

void
mapUsing( Closure $mapper)

Register a fallback mapper callback.

Details

at line line 15
mixed resolveHandler( mixed $command)

Get the handler instance for the given command.

Parameters

mixed $command

Return Value

mixed

at line line 23
string getHandlerClass( mixed $command)

Get the handler class for the given command.

Parameters

mixed $command

Return Value

string

at line line 31
string getHandlerMethod( mixed $command)

Get the handler method for the given command.

Parameters

mixed $command

Return Value

string

at line line 39
void maps( array $commands)

Register command to handler mappings.

Parameters

array $commands

Return Value

void

at line line 47
void mapUsing( Closure $mapper)

Register a fallback mapper callback.

Parameters

Closure $mapper

Return Value

void