SentryRequest::getBaseUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace MS\Sentry\Monitor\Model;
4
5
class SentryRequest
6
{
7
    /**
8
     * @var string
9
     */
10
    private $baseUrl;
11
12
    /**
13
     * @var string
14
     */
15
    private $apiKey;
16
17
    /**
18
     * @param string $baseUrl
19
     * @param string $apiKey
20
     */
21
    public function __construct($baseUrl, $apiKey)
22
    {
23
        $this->baseUrl = $baseUrl;
24
        $this->apiKey = $apiKey;
25
    }
26
27
    /**
28
     * @return string
29
     */
30
    public function getBaseUrl()
31
    {
32
        return $this->baseUrl;
33
    }
34
35
    /**
36
     * @return string
37
     */
38
    public function getApiKey()
39
    {
40
        return $this->apiKey;
41
    }
42
}
43