eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry::__construct PHP Method

__construct() public method

In $converterMap a array consists of a mapping of field type names to object / callable is expected, in case of callable factory converter object should be returned on execution. The object is used to convert content fields and content type field definitions to the legacy storage engine. The given class names must derive the {@link \eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter} interface.
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 function __construct(array $converterMap = array())
    {
        $this->converterMap = $converterMap;
    }