diff --git a/README.md b/README.md index 2a55566..4f8db19 100644 --- a/README.md +++ b/README.md @@ -210,6 +210,7 @@ abstract class Handler { abstract protected function invokeCallback(): void; protected function log(\Throwable $throwable, string $message): void; protected function print(string $string): void; + protected function serializeArgs(mixed $value): string; } ``` @@ -284,6 +285,10 @@ A callback method meant to be extended by inherited classes to control how the c Prints the provided string to stderr or stdout depending on how the handler is configured and which SAPI is being used. +#### MensBeam\Catcher\Handler::serializeArgs (protected) #### + +Serializes argument arrays in stack traces; does not recurse, only showing top level arguments. + ### MensBeam\Catcher\ThrowableController #### We cannot require all throwables to be converted to our own classes, so this class exists as a controller to add new features to throwables for use with Catcher.