HandlerResolver::getHandlerMethod()

string getHandlerMethod(mixed $command) Get the handler method for the given command. Parameters mixed $command Return Value string

HandlerResolver::getHandlerClass()

string getHandlerClass(mixed $command) Get the handler class for the given command. Parameters mixed $command Return Value string

HandlerResolver

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.

Handler::__construct()

void __construct(Container $container) Create a new exception handler instance. Parameters Container $container Return Value void

Handler::shouldReport()

bool shouldReport(Exception $e) Determine if the exception should be reported. Parameters Exception $e Return Value bool

Handler::report()

void report(Exception $e) Report or log an exception. Parameters Exception $e Return Value void Exceptions Exception

Handler::renderForConsole()

void renderForConsole(OutputInterface $output, Exception $e) Render an exception to the console. Parameters OutputInterface $output Exception $e Return Value void

Handler::render()

Response render(Request $request, Exception $e) Render an exception into a response. Parameters Request $request Exception $e Return Value Response

Handler

Handler class Handler implements ExceptionHandler (View source) Methods void __construct(Container $container) Create a new exception handler instance. void report(Exception $e) Report or log an exception. bool shouldReport(Exception $e) Determine if the exception should be reported. Response render(Request $request, Exception $e) Render an exception into a response. void renderForConsole(OutputInterface $output, Exception $e) Render an exception to the console.

HandleQueuedMessage::__wakeup()

void __wakeup() Restore the model after serialization. Return Value void