PHP Класс Neos\Flow\Property\TypeConverter\PersistentObjectSerializer

Unpersisted changes to an object are not serialized, because only the persistence identifier is taken into account as the serialized value.
Наследование: extends AbstractTypeConverter
Показать файл Открыть проект

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

Свойство Тип Описание
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$priority integer
$sourceTypes array
$targetType string

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

Метод Описание
convertFrom ( object $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : object Convert an entity or valueobject to a string representation (by using the identifier)

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

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

Convert an entity or valueobject to a string representation (by using the identifier)
public convertFrom ( object $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : object
$source object
$targetType string
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
Результат object the target type

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

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Результат Neos\Flow\Persistence\PersistenceManagerInterface

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

protected int $priority
Результат integer

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

protected array $sourceTypes
Результат array

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

protected string $targetType
Результат string