$settings $settings : \ManaPHP\Configuration\SettingsInterface Type \ManaPHP\Configuration\SettingsInterface
$redisCache $redisCache : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$redisBroker $redisBroker : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$coroutineManager $coroutineManager : \ManaPHP\Coroutine\ManagerInterface Type \ManaPHP\Coroutine\ManagerInterface
$_logs $_logs : array<mixed,\ManaPHP\Logging\Logger\Log> Type array<mixed,\ManaPHP\Logging\Logger\Log>
getInstance() getInstance(string $class, array $params = array()) : mixed Parameters string $class array $params Returns mixed
inject() inject(string $name, mixed $target) : static Parameters string $name mixed $target Returns static
attachEvent() attachEvent(string $event, callable $handler, boolean $appended = true) : static Attach a listener to the events manager Parameters string $event callable $handler boolean $appended Returns static
detachEvent() detachEvent(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
peekEvent() peekEvent(string $group, callable $handler) : static Parameters string $group callable $handler Returns static
fireEvent() fireEvent(string $event, mixed $data = array(), mixed $source = null) : void Fires an event in the events manager causing that the active listeners will be notified about it Parameters string $event mixed $data mixed $source
on() on(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
off() off(string $event = null, callable $handler = null) : static Parameters string $event callable $handler Returns static
append() append(array<mixed,\ManaPHP\Logging\Logger\Log> $logs) : void Parameters array<mixed,\ManaPHP\Logging\Logger\Log> $logs
exceptionToString() exceptionToString(\Throwable $exception) : string Parameters \Throwable $exception Returns string
formatMessage() formatMessage(\Throwable|array|\Serializable|\JsonSerializable $message) : string Parameters \Throwable|array|\Serializable|\JsonSerializable $message Returns string
log() log(integer $level, string|array $message, string $category = null) : static Parameters integer $level string|array $message string $category Returns static
debug() debug(string|array $message, string $category = null) : static Sends/Writes a debug message to the log Parameters string|array $message string $category Returns static
info() info(string|array $message, string $category = null) : static Sends/Writes an info message to the log Parameters string|array $message string $category Returns static
warn() warn(string|array $message, string $category = null) : static Sends/Writes a warning message to the log Parameters string|array $message string $category Returns static
error() error(string|array $message, string $category = null) : static Sends/Writes an error message to the log Parameters string|array $message string $category Returns static
fatal() fatal(string|array $message, string $category = null) : static Sends/Writes a critical message to the log Parameters string|array $message string $category Returns static
_parseLevel() _parseLevel(integer|string $level) : integer Parameters integer|string $level Returns integer