Свойство | Type | Description | |
---|---|---|---|
$converterMap | array | Map of converters. |
Méthode | Description | |
---|---|---|
__construct ( array $converterMap = [] ) | Create converter registry with converter map. | |
getConverter ( string $typeName ) : eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter | Returns converter for $typeName. | |
register ( string $typeName, mixed $converter ) | Register a $converter for $typeName. |
public __construct ( array $converterMap = [] ) | ||
$converterMap | array | A map where key is field type name, and value is a callable factory to get Converter OR Converter object |
public getConverter ( string $typeName ) : eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter | ||
$typeName | string | |
Résultat | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter |