BaseMapper
class BaseMapper implements MapperInterface
BaseMapper class.
Properties
protected ResourceBuilder | $builder | ||
protected Client | $client |
Methods
ResourceInterface|ResourceArray
hydrate(string|object $target, array $data)
No description
buildSystemProperties(array $sys)
No description
array
normalizeFieldData(mixed $fieldData, string|null $locale)
No description
bool
injectClient()
Override this method for blocking the mapper from injecting the client property.
Details
at line 46
__construct(ResourceBuilder $builder, Client $client)
BaseMapper constructor.
at line 58
protected ResourceInterface|ResourceArray
hydrate(string|object $target, array $data)
at line 104
protected SystemProperties
buildSystemProperties(array $sys)
at line 117
protected array
normalizeFieldData(mixed $fieldData, string|null $locale)
at line 131
protected bool
injectClient()
Override this method for blocking the mapper from injecting the client property.