audit_diff_dto extends abstract_dto
DTO for one audit diff row.
Table of Contents
Properties
- $auditid : int|null
- $fieldname : string
- $newvalue : string|null
- $oldvalue : string|null
Methods
- __construct() : mixed
- to_array() : array<string, mixed>
Properties
$auditid
public
int|null
$auditid
= null
$fieldname
public
string
$fieldname
= ''
$newvalue
public
string|null
$newvalue
= null
$oldvalue
public
string|null
$oldvalue
= null
Methods
__construct()
public
__construct([int|null $auditid = null ][, string $fieldname = '' ][, string|null $oldvalue = null ][, string|null $newvalue = null ]) : mixed
Parameters
- $auditid : int|null = null
- $fieldname : string = ''
- $oldvalue : string|null = null
- $newvalue : string|null = null
to_array()
public
to_array() : array<string, mixed>