PHP 클래스 Mpociot\CaptainHook\Webhook

상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: mpociot/captainhook 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$fillable array Make all fields fillable.

공개 메소드들

메소드 설명
boot ( ) Boot the model Whenever a new Webhook get's created the cache get's cleared.
lastLog ( ) : Illuminate\Database\Eloquent\Relations\HasMany Retrieve the logs for a given hook.
logs ( ) : Illuminate\Database\Eloquent\Relations\HasMany Retrieve the logs for a given hook.

메소드 상세

boot() 공개 정적인 메소드

Boot the model Whenever a new Webhook get's created the cache get's cleared.
public static boot ( )

lastLog() 공개 메소드

Retrieve the logs for a given hook.
public lastLog ( ) : Illuminate\Database\Eloquent\Relations\HasMany
리턴 Illuminate\Database\Eloquent\Relations\HasMany

logs() 공개 메소드

Retrieve the logs for a given hook.
public logs ( ) : Illuminate\Database\Eloquent\Relations\HasMany
리턴 Illuminate\Database\Eloquent\Relations\HasMany

프로퍼티 상세

$fillable 공개적으로 프로퍼티

Make all fields fillable.
public array $fillable
리턴 array