PHP Class Neos\ContentRepository\Migration\Transformations\RemoveProperty

Inheritance: extends AbstractTransformation
Exibir arquivo Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$propertyName string

Public Methods

Method Description
execute ( NodeData $node ) : void Remove the property from the given node.
isTransformable ( NodeData $node ) : boolean If the given node has property this transformation should work on, this returns TRUE.
setProperty ( string $propertyName ) : void Sets the name of the property to be removed.

Method Details

execute() public method

Remove the property from the given node.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
return void

isTransformable() public method

If the given node has property this transformation should work on, this returns TRUE.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
return boolean

setProperty() public method

Sets the name of the property to be removed.
public setProperty ( string $propertyName ) : void
$propertyName string
return void

Property Details

$propertyName protected_oe property

protected string $propertyName
return string