Completed
Push — master ( bb6568...5e5b00 )
by Aitor Riba
02:21
created

DB_Translation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
1
<?php
2
3
namespace Aitor24\Laralang\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class DB_Translation extends Model
8
{
9
    protected $table = 'laralang';
10
11
    public function getId(){
12
        return 'Translation_'.$this->id;
13
    }
14
}
15