PHP Trait Spatie\Activitylog\Traits\DetectsChanges

Show file Open project: spatie/laravel-activitylog

Protected Properties

Property Type Description
$oldAttributes

Public Methods

Method Description
attributeValuesToBeLogged ( string $processingEvent ) : array
attributesToBeLogged ( ) : array
logChanges ( Model $model ) : array

Protected Methods

Method Description
bootDetectsChanges ( )

Method Details

attributeValuesToBeLogged() public method

public attributeValuesToBeLogged ( string $processingEvent ) : array
$processingEvent string
return array

attributesToBeLogged() public method

public attributesToBeLogged ( ) : array
return array

bootDetectsChanges() protected static method

protected static bootDetectsChanges ( )

logChanges() public static method

public static logChanges ( Model $model ) : array
$model Illuminate\Database\Eloquent\Model
return array

Property Details

$oldAttributes protected property

protected $oldAttributes