PHP Класс Neos\ContentRepository\Migration\Service\NodeTransformation

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$transformationConjunctions array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>

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

Метод Описание
execute ( NodeData $nodeData, array $transformationConfigurations ) : void Executes all configured transformations starting on the given node.

Защищенные методы

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

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

buildTransformationConjunction() защищенный Метод

protected buildTransformationConjunction ( array $transformationConfigurations ) : array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>
$transformationConfigurations array
Результат array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>

buildTransformationObject() защищенный Метод

Builds a transformation object from the given configuration.
protected buildTransformationObject ( array $transformationConfiguration ) : Neos\ContentRepository\Migration\Transformations\TransformationInterface
$transformationConfiguration array
Результат Neos\ContentRepository\Migration\Transformations\TransformationInterface

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

Executes all configured transformations starting on the given node.
public execute ( NodeData $nodeData, array $transformationConfigurations ) : void
$nodeData Neos\ContentRepository\Domain\Model\NodeData
$transformationConfigurations array
Результат void

resolveTransformationClassName() защищенный Метод

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
Результат string

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

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

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Результат Neos\Flow\ObjectManagement\ObjectManagerInterface

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

protected array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface> $transformationConjunctions
Результат array<\Neos\ContentRepository\Migration\Transformations\TransformationInterface>