Change How Debugger Evaluates Different Types

How do I make PHP Storm evaluate different types in different ways?

Currently, for example, the type DateTime just shows a value of DateTime in the debugger variable view, until expanding it. 

I would like to be able to show the $this→date value rather than simply the class name. Something similar to the __toString method, but where we can define it in the debugger.

0

请先登录再写评论。