Trait Macroable
Methods summary
public static
|
#
macro( string $name, callable $macro )
Register a custom macro.
Parameters
|
public static
boolean
|
#
hasMacro( string $name )
Checks if macro is registered.
Checks if macro is registered.
Parameters
Returns
boolean
|
public static
mixed
|
#
__callStatic( string $method, array $parameters )
Dynamically handle calls to the class.
Dynamically handle calls to the class.
Parameters
Returns
mixed
Throws
BadMethodCallException
|
public
mixed
|
#
__call( string $method, array $parameters )
Dynamically handle calls to the class.
Dynamically handle calls to the class.
Parameters
Returns
mixed
Throws
BadMethodCallException
|
Properties summary
protected static
array
|
$macros
The registered string macros.
The registered string macros.
|
|