PHP Class Dumplie\SharedKernel\Infrastructure\Tactician\MapLocator

Inheritance: implements League\Tactician\Handler\Locator\HandlerLocator
Show file Open project: dumplie/dumplie

Public Methods

Method Description
__construct ( Dumplie\SharedKernel\Application\CommandBus\CommandHandlerMap $map )
getHandlerForCommand ( string $commandName ) : mixed

Method Details

__construct() public method

public __construct ( Dumplie\SharedKernel\Application\CommandBus\CommandHandlerMap $map )
$map Dumplie\SharedKernel\Application\CommandBus\CommandHandlerMap

getHandlerForCommand() public method

public getHandlerForCommand ( string $commandName ) : mixed
$commandName string
return mixed