ServiceAccount::getSubject()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Audiens\DoubleclickClient\entity;
4
5
class ServiceAccount
6
{
7
8
    /** @var string */
9
    protected $privateKey;
10
11
    /** @var string */
12
    protected $clientEmail;
13
14
    /** @var string */
15
    protected $subject;
16
17
    public function __construct(string $privateKey, string $clientEmail, string $subject)
18
    {
19
        $this->privateKey  = $privateKey;
20
        $this->clientEmail = $clientEmail;
21
        $this->subject     = $subject;
22
    }
23
24
    public function getPrivateKey(): string
25
    {
26
        return $this->privateKey;
27
    }
28
29
    public function getClientEmail(): string
30
    {
31
        return $this->clientEmail;
32
    }
33
34
    public function getSubject(): string
35
    {
36
        return $this->subject;
37
    }
38
}
39