PHP Класс Mpociot\CaptainHook\Webhook

Наследование: extends Illuminate\Database\Eloquent\Model
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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