createContentContext()
protected method
Create a ContentContext based on the given workspace name
protected createContentContext ( string $workspaceName, array $dimensions = [] ) : ContentContext |
$workspaceName |
string |
Name of the workspace to set for the context |
$dimensions |
array |
Optional list of dimensions and their values which should be set |
return |
Neos\Neos\Domain\Service\ContentContext |
|
createContextMatchingNodeData()
protected method
Generates a Context that exactly fits the given NodeData Workspace, Dimensions & Site.
protected createContextMatchingNodeData ( NodeData $nodeData ) : ContentContext |
$nodeData |
Neos\ContentRepository\Domain\Model\NodeData |
|
return |
Neos\Neos\Domain\Service\ContentContext |
|
$_contextFactory protected property
protected ContentContextFactory,Neos\Neos\Domain\Service $_contextFactory |
return |
Neos\Neos\Domain\Service\ContentContextFactory |
|
$_domainRepository protected property
protected DomainRepository,Neos\Neos\Domain\Repository $_domainRepository |
return |
Neos\Neos\Domain\Repository\DomainRepository |
|