Property | Type | Description | |
---|---|---|---|
$incrementing | |||
$timestamps |
Property | Type | Description | |
---|---|---|---|
$casts | |||
$data | array | Audit data. | |
$dates | |||
$guarded | |||
$metadata | array | The Audit attributes that belong to the metadata. | |
$modified | array | The Auditable attributes that were modified. | |
$table |
Method | Description | |
---|---|---|
auditable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | Get the auditable model to which this Audit belongs. | |
getConnection ( ) | ||
getDataValue ( string $key ) : mixed | Get an Audit data value. | |
getMetadata ( ) : array | Get the Audit metadata. | |
getModified ( ) : array | Get the Auditable modified attributes. | |
getTable ( ) | ||
resolveData ( ) : array | Audit data resolver. | |
user ( ) : |
User responsible for the changes. |
public auditable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo | ||
return | Illuminate\Database\Eloquent\Relations\MorphTo |
public getDataValue ( string $key ) : mixed | ||
$key | string | |
return | mixed |
public getModified ( ) : array | ||
return | array |
public user ( ) : |
||
return |
protected array $metadata | ||
return | array |
protected array $modified | ||
return | array |