Completed
Push — master ( 7bedbb...6c3901 )
by Ashley
01:53
created

Invite::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Clarkeash\Doorman\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class Invite extends Model
8
{
9
    protected $dates = [ 'valid_until' ];
10
    
11
    public function __construct(array $attributes = [])
12
    {
13
        $this->table = config('doorman.invite_table_name');
14
        parent::__construct($attributes);
15
    }
16
}
17