createContentContext()
защищенный Метод
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 |
Результат |
Neos\Neos\Domain\Service\ContentContext |
|
createContextMatchingNodeData()
защищенный Метод
Generates a Context that exactly fits the given NodeData Workspace, Dimensions & Site.
protected createContextMatchingNodeData ( NodeData $nodeData ) : ContentContext |
$nodeData |
Neos\ContentRepository\Domain\Model\NodeData |
|
Результат |
Neos\Neos\Domain\Service\ContentContext |
|
$_contextFactory защищенное свойство
protected ContentContextFactory,Neos\Neos\Domain\Service $_contextFactory |
Результат |
Neos\Neos\Domain\Service\ContentContextFactory |
|
$_domainRepository защищенное свойство
protected DomainRepository,Neos\Neos\Domain\Repository $_domainRepository |
Результат |
Neos\Neos\Domain\Repository\DomainRepository |
|