PHP Trait Spatie\Activitylog\Traits\LogsActivity

Inheritance: use trait DetectsChanges
Afficher le fichier Open project: spatie/laravel-activitylog

Méthodes publiques

Méthode Description
activity ( ) : Illuminate\Database\Eloquent\Relations\MorphMany
attributesToBeIgnored ( ) : array
getDescriptionForEvent ( string $eventName ) : string
getLogNameToUse ( string $eventName = '' ) : string

Méthodes protégées

Méthode Description
bootLogsActivity ( )
eventsToBeRecorded ( ) : Collection * Get the event names that should be recorded.
shouldLogEvent ( string $eventName ) : boolean

Method Details

activity() public méthode

public activity ( ) : Illuminate\Database\Eloquent\Relations\MorphMany
Résultat Illuminate\Database\Eloquent\Relations\MorphMany

attributesToBeIgnored() public méthode

public attributesToBeIgnored ( ) : array
Résultat array

bootLogsActivity() protected static méthode

protected static bootLogsActivity ( )

eventsToBeRecorded() protected static méthode

* Get the event names that should be recorded.
protected static eventsToBeRecorded ( ) : Collection
Résultat Illuminate\Support\Collection

getDescriptionForEvent() public méthode

public getDescriptionForEvent ( string $eventName ) : string
$eventName string
Résultat string

getLogNameToUse() public méthode

public getLogNameToUse ( string $eventName = '' ) : string
$eventName string
Résultat string

shouldLogEvent() protected méthode

protected shouldLogEvent ( string $eventName ) : boolean
$eventName string
Résultat boolean