Passed
Push — master ( 08a8fa...e64906 )
by y
01:56
created

DateTimeTrait::year()   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
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Helix\DB\Fluent\DateTime;
4
5
use Helix\DB\Fluent\Value\ValueTrait;
6
7
/**
8
 * Date-time expression manipulation.
9
 *
10
 * @see https://sqlite.org/lang_datefunc.html
11
 * @see https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-format
12
 */
13
trait DateTimeTrait
14
{
15
16
    use DateTimeAddTrait;
17
    use DateTimeDiffTrait;
18
    use DateTimeSubTrait;
19
    use ValueTrait;
20
}
21