class SSListExporter extends Exporter implements TestOnly (View source)

A custom exporter for prettier formatting of SilverStripe specific Objects in PHPUnit's failing test messages.

Methods

protected
string
recursiveExport(mixed $value, int $indentation, null|Context $processed = null)

No description

public
array
toMap(ViewableData $object)

No description

Details

protected string recursiveExport(mixed $value, int $indentation, null|Context $processed = null)

No description

Parameters

mixed $value
int $indentation
null|Context $processed

Return Value

string

Exceptions

InvalidArgumentException

array toMap(ViewableData $object)

No description

Parameters

ViewableData $object

Return Value

array