PHP Class Neos\ContentRepository\Migration\Transformations\RenameDimension

Inheritance: extends AbstractTransformation
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$contentDimensionRepository Neos\ContentRepository\Domain\Repository\ContentDimensionRepository
$newDimensionName string The new name for the dimension.
$oldDimensionName string The old name for the dimension.

Public Methods

Method Description
execute ( NodeData $nodeData ) : void Change the property on the given node.
getNewDimensionName ( ) : string
getOldDimensionName ( ) : string
setNewDimensionName ( string $newDimensionName )
setOldDimensionName ( string $oldDimensionName )

Method Details

execute() public method

Change the property on the given node.
public execute ( NodeData $nodeData ) : void
$nodeData Neos\ContentRepository\Domain\Model\NodeData
return void

getNewDimensionName() public method

public getNewDimensionName ( ) : string
return string

getOldDimensionName() public method

public getOldDimensionName ( ) : string
return string

setNewDimensionName() public method

public setNewDimensionName ( string $newDimensionName )
$newDimensionName string

setOldDimensionName() public method

public setOldDimensionName ( string $oldDimensionName )
$oldDimensionName string

Property Details

$contentDimensionRepository protected_oe property

protected ContentDimensionRepository,Neos\ContentRepository\Domain\Repository $contentDimensionRepository
return Neos\ContentRepository\Domain\Repository\ContentDimensionRepository

$newDimensionName protected_oe property

The new name for the dimension.
protected string $newDimensionName
return string

$oldDimensionName protected_oe property

The old name for the dimension.
protected string $oldDimensionName
return string