Factory
FinalYes
Table of Contents
Constants
- TYPE_FACEBOOK = "facebook"
- TYPE_VKONTAKTE = "vkontakte"
Methods
- getCompatibleFieldsMapper() : IFieldMapper
- Build compatible fields' mapper by type
- getFieldsMapper() : IFieldMapper
- Build fields mapper by type and mappings
Constants
TYPE_FACEBOOK
public
mixed
TYPE_FACEBOOK
= "facebook"
TYPE_VKONTAKTE
public
mixed
TYPE_VKONTAKTE
= "vkontakte"
Methods
getCompatibleFieldsMapper()
Build compatible fields' mapper by type
public
static getCompatibleFieldsMapper(string $type, Integration $integration) : IFieldMapper
Parameters
- $type : string
- $integration : Integration
Tags
Return values
IFieldMappergetFieldsMapper()
Build fields mapper by type and mappings
public
static getFieldsMapper(string $type, array<string|int, mixed> $mappings, Integration $integration) : IFieldMapper
Parameters
- $type : string
- $mappings : array<string|int, mixed>
- $integration : Integration