Index

iModule

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

interface

iModule

iModule.php:11

Base interface for modules.

interface MMO\core\interfaces\iModule extends MMO\core\interfaces\iSingleton, MMO\core\interfaces\iLogEmitter, ArrayAccess
Namespace
MMO\core\interfaces
Implements
iSingleton, iLogEmitter, ArrayAccess
Module can : - emit Log - request any kind of events
Inherited members (37)
ConstantsDeclared byDescription
ALERTiLogLevelAlert: Action must be taken immediately.
ALLiLogLevelMask for all
ALL_PLUSiLogLeveldebug everything
BACKTRACEiLogLevel
CRITICALiLogLevelCritical: Critical conditions.
DEBUGiLogLevelDebug: Detailed debug information.
DEEPiLogLeveldebug everything with arguments
EMERGENCYiLogLevelEmergency: System is unusable.
ERRORiLogLevelError: Runtime errors that do not require immediate action but should typically be logged and monitored.
ERROR_PLUSiLogLevelMask for all error
FATALiLogLevelMask for all fatal error
INFOiLogLevelInfo: Interesting events.
INFO_PLUSiLogLevelMask for all errors/warning/notices/info
MEMORYiLogLevelinclude backtrace object
NOTICEiLogLevelNotice: Normal but significant events.
NOTICE_PLUSiLogLevelMask for all errors/warning/notices/info
TRACEiLogLevelinclude backtrace as origins
WARNINGiLogLevelWarning: Exceptional occurrences that are not errors.
WARNING_PLUSiLogLevelMask for all errors and warnings
MethodsDeclared byDescription
alert($message, $context)LoggerInterfaceAction must be taken immediately.
critical($message, $context)LoggerInterfaceCritical conditions.
debug($message, $context)LoggerInterfaceDetailed debug information.
debugName()iLogEmitter
emergency($message, $context)LoggerInterfaceSystem is unusable.
error($message, $context)LoggerInterfaceRuntime errors that do not require immediate action but should typically be logged and monitored.
getVerbosity()iLogEmitter
info($message, $context)LoggerInterfaceInteresting events.
IsShared()iSingleton
log($level, $message, $context)LoggerInterfaceLogs with an arbitrary level.
notice($message, $context)LoggerInterfaceNormal but significant events.
offsetExists($offset)ArrayAccess
offsetGet($offset)ArrayAccess
offsetSet($offset, $value)ArrayAccess
offsetUnset($offset)ArrayAccess
Shared()iSingleton
Unshare()iSingleton
warning($message, $context)LoggerInterfaceExceptional occurrences that are not errors.