PHP Class Mpociot\CaptainHook\Webhook

Inheritance: extends Illuminate\Database\Eloquent\Model
Datei anzeigen Open project: mpociot/captainhook Class Usage Examples

Public Properties

Property Type Description
$fillable array Make all fields fillable.

Public Methods

Method Description
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.

Method Details

boot() public static method

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

lastLog() public method

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

logs() public method

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

Property Details

$fillable public_oe property

Make all fields fillable.
public array $fillable
return array