BuildLog   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
namespace Faithgen\AppBuild\Models;
4
5
use FaithGen\SDK\Models\UuidModel;
6
7
class BuildLog extends UuidModel
8
{
9
    protected $table = 'fg_build_logs';
10
    protected $guarded = ['id'];
11
    protected $hidden = [
12
        'build_id',
13
    ];
14
15
    /**
16
     * Links this log to a build.
17
     *
18
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
19
     */
20
    public function build()
21
    {
22
        return $this->belongsTo(Build::class);
23
    }
24
}
25