TicketCategory   A
last analyzed

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
/**
11
 * Class TicketCategory
12
 *
13
 * Used for declaring a ticket to a specific topic
14
 *
15
 * @package RexlManu\LaravelTickets\Models
16
 */
17
class TicketCategory extends Model
18
{
19
20
    use HasConfigModel;
21
22
    protected $fillable = [
23
        'translation'
24
    ];
25
26
    public function getTable()
27
    {
28
        return config('laravel-tickets.database.ticket-categories-table');
29
    }
30
}
31