Passed
Pull Request — master (#123)
by
unknown
04:32
created

FormAddDocument::getLocation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
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
 * Form to load another document (multi page view)
17
 *
18
 * @package TYPO3
19
 * @subpackage dlf
20
 * @access public
21
 */
22
class FormAddDocument extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
    /**
25
     * @var string
26
     */
27
    protected $location = '';
28
29
    /**
30
     * @return string
31
     */
32
    public function getLocation(): string
33
    {
34
        return $this->location;
35
    }
36
37
    /**
38
     * @param string $location
39
     */
40
    public function setLocation(string $location): void
41
    {
42
        $this->location = $location;
43
    }
44
}
45