HasConfigModel::isIncrementing()   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\Traits;
5
6
/**
7
 * Trait HasConfigModel
8
 *
9
 * Is used internal for using configuration elements
10
 *
11
 * @package RexlManu\LaravelTickets\Traits
12
 */
13
trait HasConfigModel
14
{
15
16
    public function getKeyType()
17
    {
18
        return 'string';
19
    }
20
21
    public function isIncrementing()
22
    {
23
        return config('laravel-tickets.model.incrementing');
24
    }
25
}
26