Documentation

CanNotInvokeHandlerException extends BadMethodCallException
in package
implements Exception

Thrown when a specific handler object can not be used on a command object.

The most common reason is the receiving method is missing or incorrectly named.

Interfaces, Classes and Traits

Exception
Marker interface for all Tactician exceptions

Table of Contents

$command  : mixed
forCommand()  : static
getCommand()  : mixed
Returns the command that could not be invoked

Properties

Methods

forCommand()

public static forCommand(mixed $command, string $reason) : static
Parameters
$command : mixed
$reason : string
Return values
static

Search results