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 |
|