Completed
Push — master ( 8b40f4...1a4202 )
by Peter
13:15
created

TimeIntervalType::getIntervalClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * GpsLab component.
5
 *
6
 * @author    Peter Gribanov <[email protected]>
7
 * @copyright Copyright (c) 2016, Peter Gribanov
8
 * @license   http://opensource.org/licenses/MIT
9
 */
10
11
namespace GpsLab\Component\Interval\Persistence\Doctrine\DBAL\Types;
12
13
use GpsLab\Component\Interval\Time\TimeInterval;
14
15
class TimeIntervalType extends BaseType
16
{
17
    /**
18
     * @return string
19
     */
20
    protected function getIntervalClass()
21
    {
22
        return TimeInterval::class;
23
    }
24
}
25