Bristol SU Support Package
src
Action
History
ActionHistory.php
Go to the documentation of this file.
1
<?php
2
3
namespace
BristolSU\Support\Action\History
;
4
5
use
BristolSU\Support\Action\ActionInstance
;
6
use
Illuminate\Database\Eloquent\Model
;
7
11
class
ActionHistory
extends
Model
12
{
13
14
protected
$table
=
'action_histories'
;
15
16
protected
$fillable
= [
17
'action_instance_id'
,
'event_fields'
,
'settings'
,
'message'
,
'success'
18
];
19
20
protected
$casts
= [
21
'event_fields'
=>
'array'
,
22
'settings'
=>
'array'
,
23
'success'
=>
'boolean'
24
];
25
26
public
function
actionInstance
()
27
{
28
return
$this->belongsTo(ActionInstance::class);
29
}
30
31
}
Model
BristolSU\Support\Action\History\ActionHistory\$fillable
$fillable
Definition:
ActionHistory.php:16
ActionInstance
BristolSU\Support\Action\History
Definition:
ActionHistory.php:3
BristolSU\Support\Action\History\ActionHistory\$casts
$casts
Definition:
ActionHistory.php:20
BristolSU\Support\Action\History\ActionHistory\actionInstance
actionInstance()
Definition:
ActionHistory.php:26
BristolSU\Support\Action\History\ActionHistory
Definition:
ActionHistory.php:11
BristolSU\Support\Action\History\ActionHistory\$table
$table
Definition:
ActionHistory.php:14
Generated by
1.8.13