PHP Interface Dumplie\SharedKernel\Application\CommandBus\CommandHandlerMap

ファイルを表示 Open project: dumplie/dumplie Interface Usage Examples

Public Methods

Method Description
getHandlerFor ( string $commandClass ) : mixed
register ( string $commandClass, $handler )

Method Details

getHandlerFor() public method

public getHandlerFor ( string $commandClass ) : mixed
$commandClass string
return mixed

register() public method

public register ( string $commandClass, $handler )
$commandClass string
$handler