eZ\Publish\Core\Persistence\FieldTypeRegistry::__construct PHP Method

__construct() public method

In $fieldTypeMap a mapping of field type identifier to object / callable is expected, in case of callable factory it should return the FieldType object. The FieldType object must comply to the {@link \eZ\Publish\SPI\FieldType\FieldType} interface.
public __construct ( array $fieldTypeMap )
$fieldTypeMap array A map where key is field type identifier and value is a callable factory to get FieldType OR FieldType object.
    public function __construct(array $fieldTypeMap)
    {
        $this->coreFieldTypeMap = $fieldTypeMap;
    }