PHP Class Neos\Media\TypeConverter\ImageInterfaceConverter

Inheritance: extends AssetInterfaceConverter
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$defaultNewAssetType string If creating a new asset from this converter this defines the default type as fallback.
$priority integer
$processingInstructionsConverter ProcessingInstructionsConverter
$propertyMapper Neos\Flow\Property\PropertyMapper
$targetType string

Méthodes publiques

Méthode Description
getSourceChildPropertiesToBeConverted ( mixed $source ) : array All properties in the source array except __identity are sub-properties.

Méthodes protégées

Méthode Description
applyTypeSpecificHandling ( Neos\Media\Domain\Model\ImageInterface $asset, mixed $source, array $convertedChildProperties, Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration ) : Neos\Media\Domain\Model\ImageInterface | null Converts and adds ImageAdjustments to the ImageVariant

Method Details

applyTypeSpecificHandling() protected méthode

Converts and adds ImageAdjustments to the ImageVariant
protected applyTypeSpecificHandling ( Neos\Media\Domain\Model\ImageInterface $asset, mixed $source, array $convertedChildProperties, Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration ) : Neos\Media\Domain\Model\ImageInterface | null
$asset Neos\Media\Domain\Model\ImageInterface
$source mixed
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
Résultat Neos\Media\Domain\Model\ImageInterface | null

getSourceChildPropertiesToBeConverted() public méthode

All properties in the source array except __identity are sub-properties.
public getSourceChildPropertiesToBeConverted ( mixed $source ) : array
$source mixed
Résultat array

Property Details

$defaultNewAssetType protected_oe static_oe property

If creating a new asset from this converter this defines the default type as fallback.
protected static string $defaultNewAssetType
Résultat string

$priority protected_oe property

protected int $priority
Résultat integer

$processingInstructionsConverter protected_oe property

protected ProcessingInstructionsConverter,Neos\Media\TypeConverter $processingInstructionsConverter
Résultat ProcessingInstructionsConverter

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Résultat Neos\Flow\Property\PropertyMapper

$targetType protected_oe property

protected string $targetType
Résultat string