SilverStripe\Versioned\DataDifferencer::__construct
Construct a DataDifferencer to show the changes between $fromRecord and $toRecord.
If $fromRecord is null, this will represent a "creation".
Signature
public function __construct([DataObject
$fromRecord = NULL,
[DataObject
$toRecord = NULL]] )
Parameters
$fromRecord
— SilverStripe\ORM\DataObject
$toRecord
— SilverStripe\ORM\DataObject