ContentGraphReadModelInterface
interface ContentGraphReadModelInterface implements ProjectionStateInterface (View source)
This low level interface gives access to the content graph and workspaces
Generally this is not accessible for users of the CR, except for registering a catchup-hook on the content graph
Methods
Workspace|null
findWorkspaces()
No description
ContentStream|null
int
countNodes()
Provides the total number of projected nodes regardless of workspace or content stream.
Details
ContentGraphInterface
getContentGraph(WorkspaceName $workspaceName)
No description
Workspace|null
findWorkspaceByName(WorkspaceName $workspaceName)
No description
Workspaces
findWorkspaces()
No description
ContentStream|null
findContentStreamById(ContentStreamId $contentStreamId)
| internal | only used for constraint checks and in testcases, the public API must only use workspaces {@see \Neos\ContentRepository\Core\Projection\ContentGraph\findWorkspaceByName}. |
No description
int
countNodes()
| internal | only for consumption in testcases |
Provides the total number of projected nodes regardless of workspace or content stream.