This trait makes it possible for you to add dynamic methods into your object.
| Methods | ||
|---|---|---|
public
|
__call(string $name, array<int, mixed> $args): mixed
|
# |
private
|
buildMethodHookName(string $name): string
|
# |
public
|
addMethod(string $name, Closure $fx): $this
|
# |
public
|
hasMethod(string $name): bool
|
# |
public
|
removeMethod(string $name): $this
|
# |