SilverStripe\Versioned\Versioned::compareVersions
Compare two version, and return the diff between them.
Signature
public function compareVersions(string
$from,
string
$to )
Parameters
$from
— string- The version to compare from.
$to
— string- The version to compare to.
Returns
- DataObject