protected function buildContextInstance(array $contextProperties) { $contextProperties = $this->removeDeprecatedProperties($contextProperties); return new Context($contextProperties['workspaceName'], $contextProperties['currentDateTime'], $contextProperties['dimensions'], $contextProperties['targetDimensions'], $contextProperties['invisibleContentShown'], $contextProperties['removedContentShown'], $contextProperties['inaccessibleContentShown']); }