class ObjectsSerializer implements JsonSerializable (View source)

Responsible for retrieving attribute values from objects and serializing them.

Properties

protected CategoryInterface $category
protected ObjectInterface[] $objects

Methods

__construct(CategoryInterface $category, array $objects)

ObjectsSerializer constructor.

array
jsonSerialize()

No description

Details

__construct(CategoryInterface $category, array $objects)

ObjectsSerializer constructor.

Parameters

CategoryInterface $category
array $objects

array jsonSerialize()

No description

Return Value

array