Passed
Push — master ( 44c68b...bebfba )
by Tomáš
10:58
created

Flags   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 30
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getFlags() 0 3 1
A __construct() 0 4 1
A getMarker() 0 3 1
1
<?php declare(strict_types = 1);
2
3
namespace Apicart\FQL\Token\Token;
4
5
final class Flags
6
{
7
8
    /**
9
     * @var string
10
     */
11
    private $marker;
12
13
    /**
14
     * @var string
15
     */
16
    private $flags;
17
18
19
    public function __construct(string $marker, string $flags)
20
    {
21
        $this->marker = $marker;
22
        $this->flags = $flags;
23
    }
24
25
26
    public function getMarker(): string
27
    {
28
        return $this->marker;
29
    }
30
31
32
    public function getFlags(): string
33
    {
34
        return $this->flags;
35
    }
36
37
}
38