PHP 클래스 OwenIt\Auditing\AuditorManager

상속: extends Illuminate\Support\Manager, implements OwenIt\Auditing\Contracts\Dispatcher
파일 보기 프로젝트 열기: owen-it/laravel-auditing

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultAuditor string The default auditor used to audit model.

공개 메소드들

메소드 설명
audit ( OwenIt\Auditing\Contracts\Auditable $model )
auditor ( string | null $name = null ) : mixed Get a auditor instance.
getDefaultDriver ( )

보호된 메소드들

메소드 설명
auditReview ( OwenIt\Auditing\Contracts\Auditable $model, string $auditor ) : boolean Review audit and determines if the entity can be audited.
createDatabaseDriver ( ) : DatabaseAuditor Create an instance of the database driver.
createDriver ( $driver )

메소드 상세

audit() 공개 메소드

public audit ( OwenIt\Auditing\Contracts\Auditable $model )
$model OwenIt\Auditing\Contracts\Auditable

auditReview() 보호된 메소드

Review audit and determines if the entity can be audited.
protected auditReview ( OwenIt\Auditing\Contracts\Auditable $model, string $auditor ) : boolean
$model OwenIt\Auditing\Contracts\Auditable
$auditor string
리턴 boolean

auditor() 공개 메소드

Get a auditor instance.
public auditor ( string | null $name = null ) : mixed
$name string | null
리턴 mixed

createDatabaseDriver() 보호된 메소드

Create an instance of the database driver.
protected createDatabaseDriver ( ) : DatabaseAuditor
리턴 OwenIt\Auditing\Auditors\DatabaseAuditor

createDriver() 보호된 메소드

protected createDriver ( $driver )

getDefaultDriver() 공개 메소드

public getDefaultDriver ( )

프로퍼티 상세

$defaultAuditor 보호되어 있는 프로퍼티

The default auditor used to audit model.
protected string $defaultAuditor
리턴 string