Index

eInvalidCoercion

MMO\core\exceptions · 1 symbol · generated 30 Sep 2026

class

eInvalidCoercion

eInvalidCoercion.php:5

Thrown by aCoercer when a value cannot be coerced to any of the requested types.

class MMO\core\exceptions\eInvalidCoercion extends MMO\core\exceptions\eInvalid
Namespace
MMO\core\exceptions
Extends
eInvalid
Inherited members (30)
PropertiesDeclared byDescription
codeException
contexteInvalid
fileException
formateInvalid
lineException
ListenerseInvalid
messageException
MethodsDeclared byDescription
AddListener($handler, $order)eInvalidRegister a listener directly (as opposed to ConnectListeners's attribute-based discovery).
ConnectListeners($obj)eInvalidScan $obj's methods for #[Listen(EventClass::class)] attributes and register each one as a listener on the matching event class.
DisconnectListeners($obj)eInvalidUndo a previous ConnectListeners: removes every listener that connect had registered for $obj on this event class.
dispatch()eInvalidInvoke every GetListeners listener with $this.
getCode()Exception
getContext()eInvalid
getFile()Exception
getFormat()eInvalid
getLine()Exception
GetListeners()eInvalidCollect every listener for this class, including those registered on its parent classes (so a subclass event is also caught by listeners of its parent event), sorted by ascending $order (ties keep …
getMessage()Exception
getOrigin()eInvalid
getPrevious()Exception
getTrace()Exception
getTraceAsString()Exception
HasListener($handler)eInvalid
jsonSerialize()eInvalid\JsonSerializable::jsonSerialize
RemoveListener($handler)eInvalidRemove the last added handler from the listeners.
Send($args)eInvalidConstruct a new instance of this class with $args, then dispatch it to every listener.
SetListenerOrder($handler, $order)eInvalidChange the order of an already-registered listener, whether added directly via AddListener or indirectly via ConnectListeners (which also stores its [$obj, $methodName] callables here).
__construct($origin, $format, $context, $previous, $code)eInvalid
__toString()Exception
__wakeup()Exception