CustomerGroupCollectionSerializer

Implements \CustomerGroupCollectionSerializerInterface

Class CustomerGroupCollectionSerializer

category

System

package

CustomerGroup

subpackage

Serializers

Methods

__construct

__construct(\CustomerGroupSerializerInterface $customerGroupSerializer, \CustomerGroupFactory $factory) 

Arguments

$customerGroupSerializer

\CustomerGroupSerializerInterface

Deserialize a JSON string.

deserialize(\StringType $collection) : \CustomerGroupCollection

Arguments

$collection

\StringType

Content to be deserialize.

Response

\CustomerGroupCollection

JSON Encode Wrapper.

encode(\CustomerGroupCollection $collection) : string

Arguments

$collection

\CustomerGroupCollection

Content to be encoded.

Response

string

Returns the encoded JSON string that represents the data.

Serialize a value to a JSON string.

serialize(\CustomerGroupCollection $collection) : array

Arguments

$collection

\CustomerGroupCollection

Content to be serialized.

Response

array

Properties

customerGroupSerializer

customerGroupSerializer : \CustomerGroupSerializerInterface

factory

factory : \CustomerGroupFactory
var

Type(s)

\CustomerGroupFactory