Legend of the Green Dragon

Log
in package
Uses StaticTrait

Table of Contents

$instance  : mixed
Instance object.
__callStatic()  : mixed
Add support for magic static method calls.
_i()  : mixed
_instance()  : mixed
debug()  : void
game()  : void
instance()  : mixed
Set/get a instance of object.

Properties

$instance

Instance object.

protected static mixed $instance

Methods

__callStatic()

Add support for magic static method calls.

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>
Return values
mixed

the returned value from the resolved method

_i()

public static _i() : mixed
Return values
mixed

_instance()

public static _instance() : mixed
Return values
mixed

debug()

public static debug(string $message, int|null $target = null, int|null $user = null, string|null $field = null, int|null $value = null, bool $consolidate = true) : void
Parameters
$message : string
$target = null : int|null
$user = null : int|null
$field = null : string|null
$value = null : int|null
$consolidate = true : bool
Return values
void

game()

public static game(string $message, string $category = 'general', bool $filed = false) : void
Parameters
$message : string
$category = 'general' : string
$filed = false : bool
Return values
void

instance()

Set/get a instance of object.

public static instance(mixed $instance) : mixed
Parameters
$instance : mixed
Return values
mixed

Search results