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.

Table of Contents

Interfaces

Exception
Marker interface for all Tactician exceptions

Properties

$command  : mixed

Methods

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

        
On this page

Search results