Methods |
public
static
|
macro(string $name, object|callable $macro): void
Register a custom macro.
|
#
|
public
static
|
mixin(object $mixin, bool $replace = true): void
Mix another object into the class.
Mix another object into the class.
Throws
|
#
|
public
static
|
hasMacro(string $name): bool
Checks if macro is registered.
Checks if macro is registered.
|
#
|
public
static
|
flushMacros(): void
Flush the existing macros.
Flush the existing macros.
|
#
|
public
static
|
__callStatic(string $method, array $parameters): mixed
Dynamically handle calls to the class.
Dynamically handle calls to the class.
Throws
|
#
|
public
|
__call(string $method, array $parameters): mixed
Dynamically handle calls to the class.
Dynamically handle calls to the class.
Throws
|
#
|