PHP Class Neos\Media\TypeConverter\ImageInterfaceJsonSerializer

Inheritance: extends ImageInterfaceArrayPresenter
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$priority integer
$targetType string

Public Methods

Method Description
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.

Method Details

convertFrom() public method

Convert an object from \Neos\Media\Domain\Model\ImageInterface to a json representation.
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
return string The converted ImageInterface

Property Details

$priority protected property

protected int $priority
return integer

$targetType protected property

protected string $targetType
return string