ValidationResult
in package
implements
ArrayAccess
Uses
AccessPropertiesAsArray
Tags
Interfaces, Classes, Traits and Enums
- ArrayAccess
Table of Contents
- $message : string
- $page : int
- $row : int|null
- $severity : string
- __construct() : mixed
- fromArray() : ValidationResult
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Properties
$message
public
string
$message
$page
public
int
$page
$row
public
int|null
$row
$severity
public
string
$severity
Methods
__construct()
public
__construct(int|null $row, int $page, string $message, string $severity) : mixed
Parameters
- $row : int|null
- $page : int
- $message : string
- $severity : string
Return values
mixed —fromArray()
public
static fromArray(array<string|int, mixed> $data) : ValidationResult
Parameters
- $data : array<string|int, mixed>
Return values
ValidationResult —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed