UTCTimeType   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 3 1
A getName() 0 3 1
1
<?php
2
3
namespace Digia\Lumen\GraphQL\Types;
4
5
use Youshido\GraphQL\Type\Scalar\StringType;
6
7
class UTCTimeType extends StringType
8
{
9
10
    /**
11
     * @inheritdoc
12
     */
13
    public function getName()
14
    {
15
        return 'UTCTime';
16
    }
17
18
    /**
19
     * @inheritdoc
20
     */
21
    public function getDescription()
22
    {
23
        return 'A time expressed in UTC.';
24
    }
25
}