PersonReferenceModel
class PersonReferenceModel extends BaseModel (View source)
Simple model for a Klaviyo "Person" reference.
Methods
__construct(array $configuration)
The constructor of a Klaviyo data model.
__get($property)
PHPs magic get method to provide access to our protected attributes.
from BaseModel
$this
__set($property, $value)
PHPs magic set method to provide access to our mutable attributes.
from BaseModel
static KlaviyoModel
create(array $configuration = array())
Helper method to create the data model.
from BaseModel
static KlaviyoModel
createFromJson(array $json = '')
Helper method to create the data model from a JSON array.
from BaseModel
jsonSerialize()
{@inheritdoc}
Details
at line line 16
__construct(array $configuration)
The constructor of a Klaviyo data model.
__get($property)
PHPs magic get method to provide access to our protected attributes.
$this
__set($property, $value)
PHPs magic set method to provide access to our mutable attributes.
static KlaviyoModel
create(array $configuration = array())
Helper method to create the data model.
static KlaviyoModel
createFromJson(array $json = '')
Helper method to create the data model from a JSON array.
at line line 26
jsonSerialize()
{@inheritdoc}