PHP Класс Neos\ContentRepository\Migration\Transformations\RenameNode

Наследование: extends AbstractTransformation
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$newName string New name of node

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

Метод Описание
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.

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

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

Renames the node to the new name.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
Результат void

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

Returns TRUE if the given node does not yet have the new name.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
Результат boolean

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

Sets the new name for the node to change.
public setNewName ( string $newName ) : void
$newName string
Результат void

Описание свойств

$newName защищенное свойство

New name of node
protected string $newName
Результат string