MacroAware
- Full name:
\Qubus\Inheritance\MacroAware
Properties
macros
The registered string macros.
- This property is static.
Methods
macro
Register a custom macro.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$macro | object|callable |
mixin
Mix another object into the class.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$mixin | object | |
$replace | bool |
Throws:
hasMacro
Checks if macro is registered.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
flushMacros
Flush the existing macros.
- This method is static.
__callStatic
Dynamically handle calls to the class.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$method | string | |
$parameters | mixed |
Throws:
__call
Dynamically handle calls to the class.
Parameters:
Parameter | Type | Description |
---|---|---|
$method | string | |
$parameters | mixed |
Throws:
Automatically generated on 2025-10-13