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

FormAddDocument   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 21
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getLocation() 0 3 1
A setLocation() 0 3 1
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