Neos.ContentRepository/Classes/Migration/Service/NodeTransformation.php
protected function buildTransformationObject($transformationConfiguration)
    {
        $transformationClassName = $this->resolveTransformationClassName($transformationConfiguration['type']);
        $transformation = new $transformationClassName();

        if (isset($transformationConfiguration['settings']) && is_array($transformationConfiguration['settings'])) {
            foreach ($transformationConfiguration['settings'] as $settingName => $settingValue) {
                if (!ObjectAccess::setProperty($transformation, $settingName, $settingValue)) {
                    throw new MigrationException('Cannot set setting "' . $settingName . '" on transformation "' . $transformationClassName . '" , check your configuration.', 1343293094);
                }
            }
        }

        return $transformation;
    }
protected function buildTransformationObject($transformationConfiguration)
    {
        $transformationClassName = $this->resolveTransformationClassName($transformationConfiguration['type']);
        $transformation = new $transformationClassName();

        if (isset($transformationConfiguration['settings']) && is_array($transformationConfiguration['settings'])) {
            foreach ($transformationConfiguration['settings'] as $settingName => $settingValue) {
                if (!ObjectAccess::setProperty($transformation, $settingName, $settingValue)) {
                    throw new MigrationException('Cannot set setting "' . $settingName . '" on transformation "' . $transformationClassName . '" , check your configuration.', 1343293094);
                }
            }
        }

        return $transformation;
    }
protected function buildTransformationObject ( $ transformationConfiguration ) { $ transformationClassName = $ this -> resolveTransformationClassName ( $ transformationConfiguration [ 'type' ] ) ; $ transformation = new $ transformationClassName ( ) ; if ( isset ( $ transformationConfiguration [ 'settings' ] ) && is_array ( $ transformationConfiguration [ 'settings' ] ) ) { foreach ( $ transformationConfiguration [ 'settings' ] as $ settingName => $ settingValue ) { if ( ! ObjectAccess :: setProperty ( $ transformation , $ settingName , $ settingValue ) ) { throw new MigrationException ( 'Cannot set setting "' . $ settingName . '" on transformation "' . $ transformationClassName . '" , check your configuration.' , 1343293094 ) ; } } } return $ transformation ; }
Builds a transformation object from the given configuration.

@param array $transformationConfiguration
@return TransformationInterface
@throws MigrationException if a given setting is not supported
Builds a transformation object from the given configuration .