Свойство | Тип | Описание | |
---|---|---|---|
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$priority | integer | ||
$sourceTypes | array | ||
$targetType | string |
Метод | Описание | |
---|---|---|
canConvertFrom ( mixed $source, string $targetType ) : boolean | If $source has an identity, we have a persisted Image, and therefore this type converter should withdraw and let the PersistedObjectConverter kick in. | |
convertFrom ( Neos\Media\Domain\Model\ImageInterface $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string | |
Convert an object from \Neos\Media\Domain\Model\ImageInterface to a json representation | |
getSourceChildPropertiesToBeConverted ( mixed $source ) : array | Convert all properties in the source array |
public convertFrom ( Neos\Media\Domain\Model\ImageInterface $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : string | |
||
$source | Neos\Media\Domain\Model\ImageInterface | |
$targetType | string | must be 'string' |
$convertedChildProperties | array | |
$configuration | Neos\Flow\Property\PropertyMappingConfigurationInterface | |
Результат | string | |
The converted Image, a Validation Error or NULL |
public getSourceChildPropertiesToBeConverted ( mixed $source ) : array | ||
$source | mixed | |
Результат | array |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |