Completed
Push — master ( e3001b...322cc5 )
by Sam
04:32
created

ContactSubmission   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A association() 0 2 1
1
<?php
2
3
namespace App;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class ContactSubmission extends Model
8
{
9
10
    protected $fillable = [ 'email', 'reason', 'comment', 'association_id', 'archived' => 0 ];
11
12
    public function association() {
13
        return $this->belongsTo('App\Association');
14
    }
15
16
}
17