Passed
Push — master ( 2dee83...8ae563 )
by Ferry
03:39
created

NumberModel::getStep()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: User
5
 * Date: 4/21/2019
6
 * Time: 10:51 PM
7
 */
8
9
namespace crocodicstudio\crudbooster\types\number;
10
11
use crocodicstudio\crudbooster\models\ColumnModel;
12
13
class NumberModel extends ColumnModel
14
{
15
16
    private $max;
17
    private $min;
18
    private $step;
19
20
    /**
21
     * @return mixed
22
     */
23
    public function getStep()
24
    {
25
        return $this->step;
26
    }
27
28
    /**
29
     * @param mixed $step
30
     */
31
    public function setStep($step): void
32
    {
33
        $this->step = $step;
34
    }
35
    
36
    /**
37
     * @return mixed
38
     */
39
    public function getMax()
40
    {
41
        return $this->max;
42
    }
43
44
    /**
45
     * @param mixed $max
46
     */
47
    public function setMax($max): void
48
    {
49
        $this->max = $max;
50
    }
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getMin()
56
    {
57
        return $this->min;
58
    }
59
60
    /**
61
     * @param mixed $min
62
     */
63
    public function setMin($min): void
64
    {
65
        $this->min = $min;
66
    }
67
68
}