interface ModelInterface implements JsonSerializable (View source)

The base Klaviyo data model.

Methods

static KlaviyoModel
create(array $configuration)

Helper method to create the data model.

static KlaviyoModel
createFromJson(array $json)

Helper method to create the data model from a JSON array.

toArray()

Convert the model to an array.

Details

at line line 19
static KlaviyoModel create(array $configuration)

Helper method to create the data model.

Parameters

array $configuration The key, value pair array to use for populating the data model.

Return Value

KlaviyoModel An instance of the Klaviyo data model.

at line line 30
static KlaviyoModel createFromJson(array $json)

Helper method to create the data model from a JSON array.

Parameters

array $json The configuration json to use for populating the data model.

Return Value

KlaviyoModel An instance of the Klaviyo data model.

at line line 35
toArray()

Convert the model to an array.