TicketCategory::getTable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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