Legend of the Green Dragon

Format

This class is for format a string For example: format a number or a date.

Tags
deprecated
5.0.0

Table of Contents

$instance  : CoreFormat
Instance of Format.
__callStatic()  : mixed
Add support for magic static method calls.
instance()  : mixed
Set a instance of Lotgd\Core\Output\CoreFormat.

Properties

$instance

Instance of Format.

protected static CoreFormat $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

instance()

Set a instance of Lotgd\Core\Output\CoreFormat.

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

Search results