Completed
Pull Request — master (#12)
by
unknown
14:43
created

Interest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace NotificationChannels\ExpoPushNotifications\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class Interest extends Model
8
{
9
    protected $table;
10
11
    protected $fillable = [
12
        'key',
13
        'value'
14
    ];
15
16
    public $timestamps = false;
17
18
    public function __construct(array $attributes = [])
19
    {
20
        $this->table = config('exponent-push-notifications.interests.database.table_name');
21
22
        parent::__construct($attributes);
23
    }
24
}