-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] display \Stringable values of objects #234
Comments
Need to investigate. |
@roxblnfk are you able to share the investigation result? |
Hi. Yes, of course. However, there are still unresolved questions:
|
Is it somehow possible to get these answers from attributes? #[Pure] // phpstorm uses this to display toString value in debugger. Only `Pure` functions are evaluated
#[Buggregator(show: true)] // naming is up to you :)
public function __toString(): string
{
return $this->variable;
} |
Something new for me. Thanks. |
I have a complex object with
pure
__toString()
method.Or object implements
Stringable
interfaceIt would be nice, if Buggregator shows result of that
__toString()
somewhere (without need to expand object)example:
Expected view:
Actual view:

The text was updated successfully, but these errors were encountered: