Closed
Description
Description
The VarDumper component is shipped with a DateCaster class that cast DateTimeInterface
objects.
When dumping a child class of DateTime
with additional properties, those properties will not be displayed.
Example
I recently worked with azuyalabs/yasumi which introduce a Holiday class extending DateTime
.
Here's the result when I dump a Holiday
instance:
I've started on a PR to have the following result:
But before submitting it, I would like to know if hiding child properties is intended ?