phpDocumentor

CustomerGroupSerializer implements CustomerGroupSerializerInterface

Class CustomerGroupSerializer

Tags
category

System

subpackage

Serializers

Interfaces, Classes and Traits

CustomerGroupSerializerInterface
Interface CustomerGroupSerializerInterface

Table of Contents

$configurationsSerializer  : CustomerGroupConfigurationsSerializerInterface
$factory  : CustomerGroupFactory
$settingsSerializer  : CustomerGroupSettingsSerializerInterface
__construct()  : mixed
CustomerGroupSerializer constructor.
deserialize()  : CustomerGroupInterface
Deserialize a JSON string.
encode()  : string
JSON Encode Wrapper.
serialize()  : array<string|int, mixed>
Serialize a value to a JSON string.
_serializeCustomerGroupNames()  : array<string|int, mixed>
Serializes customer group names array.

Properties

Methods

__construct()

CustomerGroupSerializer constructor.

public __construct(CustomerGroupSettingsSerializerInterface $settingsSerializer, CustomerGroupConfigurationsSerializerInterface $configurationsSerializer, CustomerGroupFactory $customerGroupFactory) : mixed
Parameters
$settingsSerializer : CustomerGroupSettingsSerializerInterface
$configurationsSerializer : CustomerGroupConfigurationsSerializerInterface
$customerGroupFactory : CustomerGroupFactory
Return values
mixed

_serializeCustomerGroupNames()

Serializes customer group names array.

protected _serializeCustomerGroupNames(array<string|int, mixed> $customerGroupNames) : array<string|int, mixed>
Parameters
$customerGroupNames : array<string|int, mixed>

Customer group names array to be serialized.

Return values
array<string|int, mixed>

Serialized customer group names array.

Search results