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!
파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
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 )