PHP Трейт Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait

Note that this trait requires that the Flow Object Manager must be available via $this->getObjectManager(). Note: This trait expects the IsolatedBehatStepsTrait to be available!
Показать файл Открыть проект

Открытые методы

Метод Описание
beforeScenarioDispatcher ( ) : void
iAdoptTheNodeToTheFollowingContext ( $recursive, $table )
iCopyANodeToPath ( $position, $path, $table )
iDiscardTheWorkspace ( $workspaceName )
iExpectToHaveUnpublishedNodesForTheFollowingContext ( $nodeCount, $table )
iGetANodeByIdentifierWithTheFollowingContext ( $identifier, $table )
iGetANodeByPathWithTheFollowingContext ( $path, $table )
iGetNodeVariantsOfWithTheFollowingContext ( $identifier, $table )
iGetOtherNodeVariantsOfTheNode ( )
iGetTheChildNodesOfWithFilterAndTheFollowingContext ( $path, $filter, $table )
iGetTheChildNodesOfWithTheFollowingContext ( $path, $table )
iGetTheNodesOnPathToWithTheFollowingContext ( $startingPoint, $endPoint, $table )
iHaveTheFollowingContentDimensions ( $table )
iHaveTheFollowingNodes ( $table )
iHaveTheFollowingNodetypesConfiguration ( $additional, $nodeTypesConfiguration )
iHideTheNode ( )
iMakeTheNodevisible ( )
iMoveANodeToPath ( $position, $path, $table )
iMoveTheNodeIntoTheNodeWithPath ( $action, $referenceNodePath )
iPublishTheNode ( )
iPublishTheWorkspace ( $sourceWorkspaceName )
iRemoveTheNode ( )
iRenameTheNodeTo ( $newName )
iRetrieveTheCurrentSiteNode ( )
iRunGetNodeWithThePathOnTheCurrentNode ( $path )
iSetSomePropertyAndRenameTheNodeTo ( $newName )
iSetTheNodeNameTo ( $name )
iSetTheNodePropertyTo ( $propertyName, $propertyValue )
iShouldBeAbleToCreateAChildNodeOfType ( $not, $nodeTypeName )
iShouldBeAbleToRenameTheNodeTo ( $not, $newName )
iShouldHaveANodeWithPathAndValueForPropertyForTheFollowingContext ( $path, $propertyValue, $propertyName, $table )
iShouldHaveNodes ( $count )
iShouldHaveOneNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
iShouldHaveTheFollowingNodes ( $orderIndependent, $table )
iUseThePublishingServiceToPublishNodesInTheWorkspace ( $sourceWorkspaceName, $table )
printTheNodes ( )
resetContentDimensions ( ) : void
resetCustomNodeTypes ( )
resetNodeInstances ( ) : void Makes sure to reset all node instances which might still be stored in the NodeDataRepository, ContextFactory or NodeFactory.
theNodeLanguageShouldBe ( $language )
theNodePropertyShouldBe ( $propertyName, $propertyValue )
theNodeShouldBeHiddenInIndex ( )
theNodeShouldHaveAProperty ( $not, $propertyName )
theUnpublishedNodeCountInWorkspaceShouldBe ( $workspaceName, $count )

Защищенные методы

Метод Описание
createWorkspaceIfNeeded ( string $workspaceName = null ) : void Make sure that the "live" workspace and the requested $workspaceName workspace exist.
getContextForProperties ( array $humanReadableContextProperties, boolean $addDimensionDefaults = false ) : Context
getObjectManager ( ) : mixed

Приватные методы

Метод Описание
getPersistenceManager ( ) : Neos\Flow\Persistence\PersistenceManagerInterface
getPublishingService ( ) : Neos\ContentRepository\Domain\Service\PublishingServiceInterface

Описание методов

beforeScenarioDispatcher() публичный Метод

public beforeScenarioDispatcher ( ) : void
Результат void

createWorkspaceIfNeeded() защищенный Метод

Make sure that the "live" workspace and the requested $workspaceName workspace exist.
protected createWorkspaceIfNeeded ( string $workspaceName = null ) : void
$workspaceName string
Результат void

getContextForProperties() защищенный Метод

protected getContextForProperties ( array $humanReadableContextProperties, boolean $addDimensionDefaults = false ) : Context
$humanReadableContextProperties array
$addDimensionDefaults boolean
Результат Neos\ContentRepository\Domain\Service\Context

getObjectManager() абстрактный защищенный Метод

abstract protected getObjectManager ( ) : mixed
Результат mixed

iAdoptTheNodeToTheFollowingContext() публичный Метод

public iAdoptTheNodeToTheFollowingContext ( $recursive, $table )

iCopyANodeToPath() публичный Метод

public iCopyANodeToPath ( $position, $path, $table )

iDiscardTheWorkspace() публичный Метод

public iDiscardTheWorkspace ( $workspaceName )

iExpectToHaveUnpublishedNodesForTheFollowingContext() публичный Метод

iGetANodeByIdentifierWithTheFollowingContext() публичный Метод

public iGetANodeByIdentifierWithTheFollowingContext ( $identifier, $table )

iGetANodeByPathWithTheFollowingContext() публичный Метод

public iGetANodeByPathWithTheFollowingContext ( $path, $table )

iGetNodeVariantsOfWithTheFollowingContext() публичный Метод

public iGetNodeVariantsOfWithTheFollowingContext ( $identifier, $table )

iGetOtherNodeVariantsOfTheNode() публичный Метод

iGetTheChildNodesOfWithFilterAndTheFollowingContext() публичный Метод

public iGetTheChildNodesOfWithFilterAndTheFollowingContext ( $path, $filter, $table )

iGetTheChildNodesOfWithTheFollowingContext() публичный Метод

iGetTheNodesOnPathToWithTheFollowingContext() публичный Метод

public iGetTheNodesOnPathToWithTheFollowingContext ( $startingPoint, $endPoint, $table )

iHaveTheFollowingContentDimensions() публичный Метод

iHaveTheFollowingNodes() публичный Метод

public iHaveTheFollowingNodes ( $table )

iHaveTheFollowingNodetypesConfiguration() публичный Метод

public iHaveTheFollowingNodetypesConfiguration ( $additional, $nodeTypesConfiguration )

iHideTheNode() публичный Метод

public iHideTheNode ( )

iMakeTheNodevisible() публичный Метод

public iMakeTheNodevisible ( )

iMoveANodeToPath() публичный Метод

public iMoveANodeToPath ( $position, $path, $table )

iMoveTheNodeIntoTheNodeWithPath() публичный Метод

public iMoveTheNodeIntoTheNodeWithPath ( $action, $referenceNodePath )

iPublishTheNode() публичный Метод

public iPublishTheNode ( )

iPublishTheWorkspace() публичный Метод

public iPublishTheWorkspace ( $sourceWorkspaceName )

iRemoveTheNode() публичный Метод

public iRemoveTheNode ( )

iRenameTheNodeTo() публичный Метод

public iRenameTheNodeTo ( $newName )

iRetrieveTheCurrentSiteNode() публичный Метод

iRunGetNodeWithThePathOnTheCurrentNode() публичный Метод

iSetSomePropertyAndRenameTheNodeTo() публичный Метод

iSetTheNodeNameTo() публичный Метод

public iSetTheNodeNameTo ( $name )

iSetTheNodePropertyTo() публичный Метод

public iSetTheNodePropertyTo ( $propertyName, $propertyValue )

iShouldBeAbleToCreateAChildNodeOfType() публичный Метод

public iShouldBeAbleToCreateAChildNodeOfType ( $not, $nodeTypeName )

iShouldBeAbleToRenameTheNodeTo() публичный Метод

public iShouldBeAbleToRenameTheNodeTo ( $not, $newName )

iShouldHaveANodeWithPathAndValueForPropertyForTheFollowingContext() публичный Метод

public iShouldHaveANodeWithPathAndValueForPropertyForTheFollowingContext ( $path, $propertyValue, $propertyName, $table )

iShouldHaveNodes() публичный Метод

public iShouldHaveNodes ( $count )

iShouldHaveOneNode() публичный Метод

public iShouldHaveOneNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
Результат Neos\ContentRepository\Domain\Model\NodeInterface

iShouldHaveTheFollowingNodes() публичный Метод

public iShouldHaveTheFollowingNodes ( $orderIndependent, $table )

iUseThePublishingServiceToPublishNodesInTheWorkspace() публичный Метод

public iUseThePublishingServiceToPublishNodesInTheWorkspace ( $sourceWorkspaceName, $table )

printTheNodes() публичный Метод

public printTheNodes ( )

resetContentDimensions() публичный Метод

public resetContentDimensions ( ) : void
Результат void

resetCustomNodeTypes() публичный Метод

resetNodeInstances() публичный Метод

Makes sure to reset all node instances which might still be stored in the NodeDataRepository, ContextFactory or NodeFactory.
public resetNodeInstances ( ) : void
Результат void

theNodeLanguageShouldBe() публичный Метод

public theNodeLanguageShouldBe ( $language )

theNodePropertyShouldBe() публичный Метод

public theNodePropertyShouldBe ( $propertyName, $propertyValue )

theNodeShouldBeHiddenInIndex() публичный Метод

theNodeShouldHaveAProperty() публичный Метод

public theNodeShouldHaveAProperty ( $not, $propertyName )

theUnpublishedNodeCountInWorkspaceShouldBe() публичный Метод

public theUnpublishedNodeCountInWorkspaceShouldBe ( $workspaceName, $count )