RavSystem API docs

Address extends Model
in package

Table of Contents

$country  : string
$created  : JsonDateTime
$id  : int
$number  : string
$postalCode  : string
$street  : string
$town  : string
$updated  : JsonDateTime
__construct()  : mixed
__set()  : mixed
jsonSerialize()  : array<string|int, mixed>
Specify data which should be serialized to JSON
update()  : void
Updates model properties with form data
validate()  : void
Domain object save validation callback.

Properties

$postalCode

public string $postalCode

Methods

__construct()

public __construct(int $id, string $country, string $town, string $postalCode, string $street, string $number, JsonDateTime $created, JsonDateTime $updated) : mixed
Parameters
$id : int
$country : string
$town : string
$postalCode : string
$street : string
$number : string
$created : JsonDateTime
$updated : JsonDateTime
Return values
mixed

jsonSerialize()

Specify data which should be serialized to JSON

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

update()

Updates model properties with form data

public update(stdClass $form) : void
Parameters
$form : stdClass
Return values
void

validate()

Domain object save validation callback.

public validate() : void

Any rules checks on each update, can be implemented here.

Return values
void

Search results