EmptyModel
class EmptyModel extends BaseModel (View source)
The empty Klaviyo data model.
Methods
__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
Details
__construct(array $configuration = array())
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.