RoundBill   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A round() 0 3 1
A charge() 0 3 1
A member() 0 3 1
A bill() 0 3 1
1
<?php
2
3
namespace Siak\Tontine\Model;
4
5
class RoundBill extends Base
6
{
7
    /**
8
     * Indicates if the model should be timestamped.
9
     *
10
     * @var bool
11
     */
12
    public $timestamps = false;
13
14
    public function round()
15
    {
16
        return $this->belongsTo(Round::class);
17
    }
18
19
    public function charge()
20
    {
21
        return $this->belongsTo(Charge::class);
22
    }
23
24
    public function member()
25
    {
26
        return $this->belongsTo(Member::class);
27
    }
28
29
    public function bill()
30
    {
31
        return $this->belongsTo(Bill::class);
32
    }
33
}
34