See https://github.com/silverstripe/silverstripe-framework/pull/2522/files#r9344919