InvalidCommandException
extends RuntimeException
in package
implements
Exception
Thrown when the command bus is given an non-object to use as a command.
Table of Contents
Interfaces
- Exception
- Marker interface for all Tactician exceptions
Properties
- $invalidCommand : mixed
Methods
- forUnknownValue() : static
- getInvalidCommand() : mixed
Properties
$invalidCommand
private
mixed
$invalidCommand
Methods
forUnknownValue()
public
static forUnknownValue(mixed $invalidCommand) : static
Parameters
- $invalidCommand : mixed
Return values
staticgetInvalidCommand()
public
getInvalidCommand() : mixed