Endpoint::getNewOrderUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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