Schema
Less than 1 minute
Schema
Properties
validationErrors
protected array $validationErrorsMethods
addValidationError
public addValidationError(string $field, PropertyException $e): voidParameters
| Parameter | Type | Description |
|---|---|---|
$field | string | |
$e | PropertyException |
getValidationErrors
public getValidationErrors(): voidvalidate
public validate(): boolset
public set(string $name, mixed $value): voidParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$value | mixed |
initialise
Struct initializer.
public initialise(mixed $data, mixed $constructorArgs): voidErrors during initialization will throw PropertyException exceptions immediately.
Parameters
| Parameter | Type | Description |
|---|---|---|
$data | mixed | the data to initialize the model with |
$constructorArgs | mixed |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000