Neos\ContentRepository\Domain\Service\ContextFactory::buildContextInstance PHP Method

buildContextInstance() protected method

This needs to be overridden if the Builder is extended.
protected buildContextInstance ( array $contextProperties ) : Context
$contextProperties array
return Context
    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']);
    }