PHP Class Neos\Neos\Ui\TypeConverter\ChangeCollectionConverter

Inheritance: extends TYPO3\Flow\Property\TypeConverter\AbstractTypeConverter
Show file Open project: neos/neos-ui

Protected Properties

Property Type Description
$disallowedPayloadProperties
$nodeService Neos\Neos\Ui\TYPO3CR\Service\NodeService
$objectManager TYPO3\Flow\Object\ObjectManagerInterface
$objectManager TYPO3\Flow\ObjectManagement\ObjectManagerInterface
$persistenceManager TYPO3\Flow\Persistence\PersistenceManagerInterface
$priority integer
$propertyMapper TYPO3\Flow\Property\PropertyMapper
$reflectionService TYPO3\Flow\Reflection\ReflectionService
$sourceTypes array
$targetType string
$typeMap array

Public Methods

Method Description
convertFrom ( array $source, string $targetType, array $subProperties = [], TYPO3\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : mixed Converts a accordingly formatted, associative array to a change collection

Protected Methods

Method Description
convertChangeData ( array $changeData ) : Neos\Neos\Ui\Domain\Model\ChangeInterface Convert array to change interface

Method Details

convertChangeData() protected method

Convert array to change interface
protected convertChangeData ( array $changeData ) : Neos\Neos\Ui\Domain\Model\ChangeInterface
$changeData array
return Neos\Neos\Ui\Domain\Model\ChangeInterface

convertFrom() public method

Converts a accordingly formatted, associative array to a change collection
public convertFrom ( array $source, string $targetType, array $subProperties = [], TYPO3\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : mixed
$source array
$targetType string not used
$subProperties array not used
$configuration TYPO3\Flow\Property\PropertyMappingConfigurationInterface not used
return mixed An object or \TYPO3\Flow\Error\Error if the input format is not supported or could not be converted for other reasons

Property Details

$disallowedPayloadProperties protected property

protected $disallowedPayloadProperties

$nodeService protected property

protected NodeService,Neos\Neos\Ui\TYPO3CR\Service $nodeService
return Neos\Neos\Ui\TYPO3CR\Service\NodeService

$objectManager protected property

protected ObjectManagerInterface,TYPO3\Flow\Object $objectManager
return TYPO3\Flow\Object\ObjectManagerInterface

$objectManager protected property

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

$persistenceManager protected property

protected PersistenceManagerInterface,TYPO3\Flow\Persistence $persistenceManager
return TYPO3\Flow\Persistence\PersistenceManagerInterface

$priority protected property

protected int $priority
return integer

$propertyMapper protected property

protected PropertyMapper,TYPO3\Flow\Property $propertyMapper
return TYPO3\Flow\Property\PropertyMapper

$reflectionService protected property

protected ReflectionService,TYPO3\Flow\Reflection $reflectionService
return TYPO3\Flow\Reflection\ReflectionService

$sourceTypes protected property

protected array $sourceTypes
return array

$targetType protected property

protected string $targetType
return string

$typeMap protected property

protected array $typeMap
return array