Completed
Push — master ( e1cce4...d2c19b )
by David
09:34 queued 11s
created

Permissions::canReadHousekeeping()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Torralbodavid\DuckFunkCore\Models\Arcturus;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class Permissions extends Model
8
{
9
    protected $table = 'permissions';
10
    protected $guarded = [];
11
    public $timestamps = false;
12
13
    public function getHousekeepingReadAttribute()
14
    {
15
        return $this->duck_funk_housekeeping_read;
16
    }
17
18
    public function getHousekeepingWriteAttribute()
19
    {
20
        return $this->duck_funk_housekeeping_write;
21
    }
22
}
23