PHP 클래스 Neos\Media\TypeConverter\ImageInterfaceConverter

상속: extends AssetInterfaceConverter
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
getSourceChildPropertiesToBeConverted ( mixed $source ) : array All properties in the source array except __identity are sub-properties.

보호된 메소드들

메소드 설명
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

메소드 상세

applyTypeSpecificHandling() 보호된 메소드

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
리턴 Neos\Media\Domain\Model\ImageInterface | null

getSourceChildPropertiesToBeConverted() 공개 메소드

All properties in the source array except __identity are sub-properties.
public getSourceChildPropertiesToBeConverted ( mixed $source ) : array
$source mixed
리턴 array

프로퍼티 상세

$defaultNewAssetType 보호되어 있는 정적으로 프로퍼티

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

$priority 보호되어 있는 프로퍼티

protected int $priority
리턴 integer

$processingInstructionsConverter 보호되어 있는 프로퍼티

protected ProcessingInstructionsConverter,Neos\Media\TypeConverter $processingInstructionsConverter
리턴 ProcessingInstructionsConverter

$propertyMapper 보호되어 있는 프로퍼티

protected PropertyMapper,Neos\Flow\Property $propertyMapper
리턴 Neos\Flow\Property\PropertyMapper

$targetType 보호되어 있는 프로퍼티

protected string $targetType
리턴 string