Macroable (Support\Traits)

Macroable

trait Macroable (View source)

Methods

static void macro(string $name, callable $macro)

Register a custom macro.

static bool hasMacro(string $name)

Checks if macro is registered.

static mixed __callStatic(string $method, array $parameters)

Dynamically handle calls to the class.