ValueRenderer
Rasuvaeff\PropertyTesting\ValueRenderer
Class — Package: property-testing-core — Source — Version: v0.1.0-12-g86ead85
Renders an arbitrary value into a compact, human-readable string for counterexample reporting. Unlike a bare [N element(s)]/class-name summary it descends into arrays and simple objects so the shrunk value is actually visible, while staying bounded: depth, element count and string length are all capped, special floats and binary strings are labelled, and object recursion is guarded against cycles.
Methods
render()
php
static render(mixed $value): stringnormalize()
php
static normalize(mixed $value): mixedexportPhp()
php
static exportPhp(mixed $value): string