Completed
Push — master ( 2a78e8...9c5329 )
by Brent
01:12
created

HasDefaultUuidFields   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getKeyName() 0 4 1
A getIncrementing() 0 4 1
1
<?php
2
3
namespace Spatie\BinaryUuid;
4
5
trait HasDefaultUuidFields
6
{
7
    public function getKeyName()
8
    {
9
        return 'uuid';
10
    }
11
12
    public function getIncrementing()
13
    {
14
        return false;
15
    }
16
}
17