MacroableTrait (Support\Traits)

MacroableTrait

trait MacroableTrait (View source)

Methods

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

Register a custom macro.

static boolean hasMacro( string $name)

Checks if macro is registered

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

Dynamically handle calls to the class.

登录查看完整内容