Passed
Pull Request — master (#195)
by
unknown
08:51
created

DepositLicense::setTitle()   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 1
dl 0
loc 3
rs 10
1
<?php
2
namespace EWW\Dpf\Domain\Model;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
/**
18
 * Document
19
 */
20
class DepositLicense extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
{
22
    /**
23
     * @var string
24
     */
25
    protected $uri;
26
27
    /**
28
     * @var string
29
     */
30
    protected $title;
31
32
    /**
33
     * @var string
34
     */
35
    protected $text;
36
37
    /**
38
     * @return string
39
     */
40
    public function getUri(): string
41
    {
42
        return $this->uri;
43
    }
44
45
    /**
46
     * @param string $uri
47
     */
48
    public function setUri(string $uri): void
49
    {
50
        $this->uri = $uri;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getTitle(): string
57
    {
58
        return $this->title;
59
    }
60
61
    /**
62
     * @param string $title
63
     */
64
    public function setTitle(string $title): void
65
    {
66
        $this->title = $title;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getText(): string
73
    {
74
        return $this->text;
75
    }
76
77
    /**
78
     * @param string $text
79
     */
80
    public function setText(string $text): void
81
    {
82
        $this->text = $text;
83
    }
84
85
}
86