Passed
Pull Request — master (#195)
by
unknown
09:41 queued 02:26
created

TransformationFile::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
 * File
19
 */
20
class TransformationFile extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
{
22
23
    /**
24
     * title
25
     *
26
     * @var string
27
     */
28
    protected $title = '';
29
30
    /**
31
     * label
32
     *
33
     * @var string
34
     */
35
    protected $label = '';
36
37
    /**
38
     * image
39
     *
40
     * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
41
     */
42
    protected $file = NULL;
43
44
    /**
45
     * @return string
46
     */
47
    public function getTitle(): string
48
    {
49
        return $this->title;
50
    }
51
52
    /**
53
     * @param string $title
54
     */
55
    public function setTitle(string $title)
56
    {
57
        $this->title = $title;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getLabel(): string
64
    {
65
        return $this->label;
66
    }
67
68
    /**
69
     * @param string $label
70
     */
71
    public function setLabel(string $label)
72
    {
73
        $this->label = $label;
74
    }
75
76
    /**
77
     * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference
78
     */
79
    public function getFile(): \TYPO3\CMS\Extbase\Domain\Model\FileReference
80
    {
81
        return $this->file;
82
    }
83
84
    /**
85
     * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $file
86
     */
87
    public function setFile(\TYPO3\CMS\Extbase\Domain\Model\FileReference $file)
88
    {
89
        $this->file = $file;
90
    }
91
92
93
94
}
95