Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class Organizer extends Model |
||
8 | { |
||
9 | /***************************************************************************/ |
||
10 | /** |
||
11 | * The table associated with the model. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $table = 'organizers'; |
||
16 | |||
17 | /***************************************************************************/ |
||
18 | |||
19 | protected $fillable = [ |
||
20 | 'name', 'description', 'website', 'created_by', 'slug', 'email', 'phone', |
||
21 | ]; |
||
22 | |||
23 | /***************************************************************************/ |
||
24 | |||
25 | /** |
||
26 | * Get the user that owns the event. eg. $organizer->user |
||
27 | */ |
||
28 | public function user() |
||
33 |