Свойство | Тип | Описание | |
---|---|---|---|
$converterMap | array | Map of converters. |
Метод | Описание | |
---|---|---|
__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 | |
Результат | eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter |