PHP Class OwenIt\Auditing\Models\Audit

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: owen-it/laravel-auditing Class Usage Examples

Méthodes publiques

Свойство Type Description
$incrementing
$timestamps

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 ( ) : BelongsTo User responsible for the changes.

Method Details

auditable() public méthode

Get the auditable model to which this Audit belongs.
public auditable ( ) : Illuminate\Database\Eloquent\Relations\MorphTo
Résultat Illuminate\Database\Eloquent\Relations\MorphTo

getConnection() public méthode

public getConnection ( )

getDataValue() public méthode

Get an Audit data value.
public getDataValue ( string $key ) : mixed
$key string
Résultat mixed

getMetadata() public méthode

Get the Audit metadata.
public getMetadata ( ) : array
Résultat array

getModified() public méthode

Get the Auditable modified attributes.
public getModified ( ) : array
Résultat array

getTable() public méthode

public getTable ( )

resolveData() public méthode

Audit data resolver.
public resolveData ( ) : array
Résultat array

user() public méthode

User responsible for the changes.
public user ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

Property Details

$casts protected_oe property

protected $casts

$data protected_oe property

Audit data.
protected array $data
Résultat array

$dates protected_oe property

protected $dates

$guarded protected_oe property

protected $guarded

$incrementing public_oe property

public $incrementing

$metadata protected_oe property

The Audit attributes that belong to the metadata.
protected array $metadata
Résultat array

$modified protected_oe property

The Auditable attributes that were modified.
protected array $modified
Résultat array

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps