PHP Class Neos\ContentRepository\Migration\Service\NodeTransformation

ファイルを表示 Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$transformationConjunctions array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>

Public Methods

Method Description
execute ( NodeData $nodeData, array $transformationConfigurations ) : void Executes all configured transformations starting on the given node.

Protected Methods

Method Description
buildTransformationConjunction ( array $transformationConfigurations ) : array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>
buildTransformationObject ( array $transformationConfiguration ) : Neos\ContentRepository\Migration\Transformations\TransformationInterface Builds a transformation object from the given configuration.
resolveTransformationClassName ( string $transformationName ) : string Tries to resolve the given transformation name into a class name.

Method Details

buildTransformationConjunction() protected method

protected buildTransformationConjunction ( array $transformationConfigurations ) : array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>
$transformationConfigurations array
return array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>

buildTransformationObject() protected method

Builds a transformation object from the given configuration.
protected buildTransformationObject ( array $transformationConfiguration ) : Neos\ContentRepository\Migration\Transformations\TransformationInterface
$transformationConfiguration array
return Neos\ContentRepository\Migration\Transformations\TransformationInterface

execute() public method

Executes all configured transformations starting on the given node.
public execute ( NodeData $nodeData, array $transformationConfigurations ) : void
$nodeData Neos\ContentRepository\Domain\Model\NodeData
$transformationConfigurations array
return void

resolveTransformationClassName() protected method

The name can be a fully qualified class name or a name relative to the Neos\ContentRepository\Migration\Transformations namespace.
protected resolveTransformationClassName ( string $transformationName ) : string
$transformationName string
return string

Property Details

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$transformationConjunctions protected_oe property

protected array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface> $transformationConjunctions
return array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>