class SSListExporter extends Exporter implements TestOnly (View source)

deprecated 5.4.0 Will be removed without equivalent functionality to replace it

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

Methods

public
__construct()

No description

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

No description

public
array
toMap(ViewableData $object)

No description

Details

__construct()

No description

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