HandlerLocator
in
Service locator for handler objects
This interface is often a wrapper around your frameworks dependency injection container or just maps command names to handler names on disk somehow.
Table of Contents
- getHandlerForCommand() : object
- Retrieves the handler for a specified command
Methods
getHandlerForCommand()
Retrieves the handler for a specified command
public
getHandlerForCommand(string $commandName) : object
Parameters
- $commandName : string