Completed
Push — master ( 6dd141...c48c3b )
by Emmanuel
01:41
created

TicketCategory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTable() 0 4 1
1
<?php
2
3
4
namespace RexlManu\LaravelTickets\Models;
5
6
7
use Illuminate\Database\Eloquent\Model;
8
use RexlManu\LaravelTickets\Traits\HasConfigModel;
9
10
class TicketCategory extends Model
11
{
12
13
    use HasConfigModel;
14
15
    protected $fillable = [
16
        'translation'
17
    ];
18
19
    public function getTable()
20
    {
21
        return config('laravel-tickets.database.ticket-categories-table');
22
    }
23
}
24