Configuration::setApiKey()   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
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * Class Configuration
5
 */
6
7
namespace HDNET\OnpageIntegration\Domain\Model;
8
9
/**
10
 * Class Configuration
11
 *
12
 * @db
13
 */
14
class Configuration extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
15
{
16
17
    /**
18
     * api_key
19
     *
20
     * @db
21
     * @var string
22
     */
23
    protected $apiKey;
24
25
    /**
26
     * project_id
27
     *
28
     * @db
29
     * @var string
30
     */
31
    protected $projectId;
32
    
33
    /**
34
     * Returns the project id
35
     *
36
     * @return string
37
     */
38
    public function getProjectId()
39
    {
40
        return $this->projectId;
41
    }
42
43
    /**
44
     * Sets the projects id
45
     *
46
     * @param string $projectId
47
     */
48
    public function setProjectId($projectId)
49
    {
50
        $this->projectId = $projectId;
51
    }
52
53
    /**
54
     * Returns the api key
55
     *
56
     * @return string
57
     */
58
    public function getApiKey()
59
    {
60
        return $this->apiKey;
61
    }
62
63
    /**
64
     * Sets the api key
65
     *
66
     * @param string $apiKey
67
     */
68
    public function setApiKey($apiKey)
69
    {
70
        $this->apiKey = $apiKey;
71
    }
72
}
73