Remitment   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A payable() 0 3 1
A auction() 0 3 1
1
<?php
2
3
namespace Siak\Tontine\Model;
4
5
class Remitment 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 payable()
15
    {
16
        return $this->belongsTo(Payable::class);
17
    }
18
19
    public function auction()
20
    {
21
        return $this->hasOne(Auction::class);
22
    }
23
}
24