Endpoint   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 55
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 5
eloc 12
c 1
b 0
f 0
dl 0
loc 55
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getKeyChangeUrl() 0 3 1
A getNewAccountUrl() 0 3 1
A getRevokeCertificateUrl() 0 3 1
A getNewNonceUrl() 0 3 1
A getNewOrderUrl() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the LetsEncrypt ACME client.
7
 *
8
 * @author    Ivanov Aleksandr <[email protected]>
9
 * @copyright 2019-2020
10
 * @license   https://github.com/misantron/letsencrypt-client/blob/master/LICENSE MIT License
11
 */
12
13
namespace LetsEncrypt\Entity;
14
15
final class Endpoint extends Entity
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $newNonce;
21
22
    /**
23
     * @var string
24
     */
25
    protected $newAccount;
26
27
    /**
28
     * @var string
29
     */
30
    protected $newOrder;
31
32
    /**
33
     * @var string
34
     */
35
    protected $newAuthz;
36
37
    /**
38
     * @var string
39
     */
40
    protected $revokeCert;
41
42
    /**
43
     * @var string
44
     */
45
    protected $keyChange;
46
47
    public function getNewNonceUrl(): string
48
    {
49
        return $this->newNonce;
50
    }
51
52
    public function getNewAccountUrl(): string
53
    {
54
        return $this->newAccount;
55
    }
56
57
    public function getNewOrderUrl(): string
58
    {
59
        return $this->newOrder;
60
    }
61
62
    public function getRevokeCertificateUrl(): string
63
    {
64
        return $this->revokeCert;
65
    }
66
67
    public function getKeyChangeUrl(): string
68
    {
69
        return $this->keyChange;
70
    }
71
}
72