HandlerResolver
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
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Contracts/Bus/HandlerResolver.html