PHP Class Neos\ContentRepository\Migration\Transformations\RenameNode

Inheritance: extends AbstractTransformation
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$newName string New name of node

Méthodes publiques

Méthode Description
execute ( NodeData $node ) : void Renames the node to the new name.
isTransformable ( NodeData $node ) : boolean Returns TRUE if the given node does not yet have the new name.
setNewName ( string $newName ) : void Sets the new name for the node to change.

Method Details

execute() public méthode

Renames the node to the new name.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
Résultat void

isTransformable() public méthode

Returns TRUE if the given node does not yet have the new name.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
Résultat boolean

setNewName() public méthode

Sets the new name for the node to change.
public setNewName ( string $newName ) : void
$newName string
Résultat void

Property Details

$newName protected_oe property

New name of node
protected string $newName
Résultat string