PHP Class Neos\ContentRepository\Migration\Service\NodeTransformation

Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$transformationConjunctions array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

buildTransformationObject() protected méthode

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

execute() public méthode

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

resolveTransformationClassName() protected méthode

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
Résultat string

Property Details

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Résultat Neos\Flow\ObjectManagement\ObjectManagerInterface

$transformationConjunctions protected_oe property

protected array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface> $transformationConjunctions
Résultat array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>