Passed
Push — master ( db0af9...5e9f02 )
by Ferry
03:57
created

TimeModel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 19
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFormat() 0 3 1
A setFormat() 0 3 1
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\time;
10
11
use crocodicstudio\crudbooster\models\ColumnModel;
12
13
class TimeModel extends ColumnModel
14
{
15
16
    private $format;
17
18
    /**
19
     * @return mixed
20
     */
21
    public function getFormat()
22
    {
23
        return $this->format;
24
    }
25
26
    /**
27
     * @param mixed $format
28
     */
29
    public function setFormat($format)
30
    {
31
        $this->format = $format;
32
    }
33
}