Свойство | Тип | Описание | |
---|---|---|---|
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$priority | integer | The priority for this converter. | |
$sourceTypes | array |
The source types this converter can convert. | |
$targetType | string | The target type this converter can convert to. |
Метод | Описание | |
---|---|---|
canConvertFrom ( object $source, string $targetType ) : boolean | Check if the given object has an identity. | |
convertFrom ( object $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | Converts the given source object to an array containing the type and identity. |
public convertFrom ( object $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : array | ||
$source | object | |
$targetType | string | |
$convertedChildProperties | array | |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
Результат | array |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
protected int $priority | ||
Результат | integer |
protected array |
||
Результат | array |
protected string $targetType | ||
Результат | string |