phpDocumentor

DataChangeCollection
in package
implements IteratorAggregate, Countable, JsonSerializable

Class DataChangeCollection

Tags
subpackage

GambioHub

Interfaces, Classes and Traits

IteratorAggregate
Countable
JsonSerializable

Table of Contents

$dataChanges  : array<string|int, DataChange>
__construct()  : mixed
DataChangeCollection constructor.
count()  : int
Count elements of an object.
getIterator()  : Traversable
Returns iterator object.
jsonSerialize()  : mixed
Specify data which should be serialized to JSON

Properties

Methods

count()

Count elements of an object.

public count() : int
Return values
int

The custom count as an integer.

getIterator()

Returns iterator object.

public getIterator() : Traversable
Return values
Traversable

An instance of an object implementing Iterator or Traversable

jsonSerialize()

Specify data which should be serialized to JSON

public jsonSerialize() : mixed
Return values
mixed

Data which can be serialized by json_encode, which is a value of any type other than a resource.

Search results