abstract class Base implements JsonSerializable, Serializable (View source)

Something all Models extend.

Methods

__construct()

Default constructor.

__destruct()

Default destructor.

bool
__isset(string $name)

No description

mixed
__get(string $name)

No description

mixed
__call(string $name, array $args)

No description

mixed
jsonSerialize()

No description

string
serialize()

No description

void
unserialize($data)

No description

void
_patch(array $data)

No description

bool
_shouldUpdate(array $data)

No description

void
_markForDelete()

No description

Details

__construct()

Default constructor.

__destruct()

Default destructor.

bool __isset(string $name)

Parameters

string $name

Return Value

bool

Exceptions

Exception

mixed __get(string $name)

Parameters

string $name

Return Value

mixed

Exceptions

RuntimeException

mixed __call(string $name, array $args)

Parameters

string $name
array $args

Return Value

mixed

Exceptions

RuntimeException

mixed jsonSerialize()

Return Value

mixed

string serialize()

Return Value

string

void unserialize($data)

Parameters

$data

Return Value

void

void _patch(array $data)

Parameters

array $data

Return Value

void

bool _shouldUpdate(array $data)

Parameters

array $data

Return Value

bool

void _markForDelete()

Return Value

void