PHP Class Neos\Flow\Property\TypeConverter\UriTypeConverter

This converter simply creates a Neos\Flow\Http\Uri instance from the source string.
Inheritance: extends AbstractTypeConverter
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$priority integer
$sourceTypes array
$targetType string

Méthodes publiques

Méthode Description
convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : Uri | Neos\Error\Messages\Error Converts the given string to a Uri object.

Method Details

convertFrom() public méthode

Converts the given string to a Uri object.
public convertFrom ( string $source, string $targetType, array $convertedChildProperties = [], Neos\Flow\Property\PropertyMappingConfigurationInterface $configuration = null ) : Uri | Neos\Error\Messages\Error
$source string The URI to be converted
$targetType string
$convertedChildProperties array
$configuration Neos\Flow\Property\PropertyMappingConfigurationInterface
Résultat Neos\Flow\Http\Uri | Neos\Error\Messages\Error if the input format is not supported or could not be converted for other reasons

Property Details

$priority protected_oe property

protected int $priority
Résultat integer

$sourceTypes protected_oe property

protected array $sourceTypes
Résultat array

$targetType protected_oe property

protected string $targetType
Résultat string