Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — dev-extbase-fluid (#782)
by Alexander
03:08
created

Structure::getL18nParent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * (c) Kitodo. Key to digital objects e.V. <[email protected]>
5
 *
6
 * This file is part of the Kitodo and TYPO3 projects.
7
 *
8
 * @license GNU General Public License version 3 or later.
9
 * For the full copyright and license information, please read the
10
 * LICENSE.txt file that was distributed with this source code.
11
 */
12
13
namespace Kitodo\Dlf\Domain\Model;
14
15
/**
16
 * Domain model of 'Structure'.
17
 *
18
 * @package TYPO3
19
 * @subpackage dlf
20
 * @access public
21
 */
22
class Structure extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
    /**
25
     * @var \Kitodo\Dlf\Domain\Model\Structure
26
     */
27
    protected $l18nParent;
28
29
    /**
30
     * @var int
31
     */
32
    protected $toplevel;
33
34
    /**
35
     * @var string
36
     */
37
    protected $label;
38
39
    /**
40
     * @var string
41
     */
42
    protected $indexName;
43
44
    /**
45
     * @var string
46
     */
47
    protected $oaiName;
48
49
    /**
50
     * @var int
51
     */
52
    protected $thumbnail;
53
54
    /**
55
     * @var int
56
     */
57
    protected $status;
58
59
    /**
60
     * @return \Kitodo\Dlf\Domain\Model\Structure
61
     */
62
    public function getL18nParent(): Structure
63
    {
64
        return $this->l18nParent;
65
    }
66
67
    /**
68
     * @param int $l18nParent
69
     */
70
    public function setL18nParent(Structure $l18nParent): void
71
    {
72
        $this->l18nParent = $l18nParent;
73
    }
74
75
    /**
76
     * @return int
77
     */
78
    public function getToplevel(): int
79
    {
80
        return $this->toplevel;
81
    }
82
83
    /**
84
     * @param int $toplevel
85
     */
86
    public function setToplevel(int $toplevel): void
87
    {
88
        $this->toplevel = $toplevel;
89
    }
90
91
    /**
92
     * @return string
93
     */
94
    public function getLabel(): string
95
    {
96
        return $this->label;
97
    }
98
99
    /**
100
     * @param string $label
101
     */
102
    public function setLabel(string $label): void
103
    {
104
        $this->label = $label;
105
    }
106
107
    /**
108
     * @return string
109
     */
110
    public function getIndexName(): string
111
    {
112
        return $this->indexName;
113
    }
114
115
    /**
116
     * @param string $indexName
117
     */
118
    public function setIndexName(string $indexName): void
119
    {
120
        $this->indexName = $indexName;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function getOaiName(): string
127
    {
128
        return $this->oaiName;
129
    }
130
131
    /**
132
     * @param string $oaiName
133
     */
134
    public function setOaiName(string $oaiName): void
135
    {
136
        $this->oaiName = $oaiName;
137
    }
138
139
    /**
140
     * @return int
141
     */
142
    public function getThumbnail(): int
143
    {
144
        return $this->thumbnail;
145
    }
146
147
    /**
148
     * @param int $thumbnail
149
     */
150
    public function setThumbnail(int $thumbnail): void
151
    {
152
        $this->thumbnail = $thumbnail;
153
    }
154
155
    /**
156
     * @return int
157
     */
158
    public function getStatus(): int
159
    {
160
        return $this->status;
161
    }
162
163
    /**
164
     * @param int $status
165
     */
166
    public function setStatus(int $status): void
167
    {
168
        $this->status = $status;
169
    }
170
171
}
172