Completed
Push — development ( b2c13c...294738 )
by Torben
09:28
created

Speaker::getDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace DERHANSEN\SfEventMgt\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
 * Conference speaker model
19
 */
20
class Speaker extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
21
{
22
    /**
23
     * Name
24
     *
25
     * @var string
26
     */
27
    protected $name = '';
28
29
    /**
30
     * Job title
31
     *
32
     * @var string
33
     */
34
    protected $jobTitle = '';
35
36
    /**
37
     * Description
38
     *
39
     * @var string
40
     */
41
    protected $description = '';
42
43
    /**
44
     * The image
45
     *
46
     * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
47
     */
48
    protected $image = null;
49
50
    /**
51
     * Returns the speaker name
52
     *
53
     * @return string
54
     */
55
    public function getName()
56
    {
57
        return $this->name;
58
    }
59
60
    /**
61
     * Sets the speaker name
62
     *
63
     * @param string $name
64
     *
65
     * @return void
66
     */
67
    public function setName($name)
68
    {
69
        $this->name = $name;
70
    }
71
72
    /**
73
     * Returns the job title
74
     *
75
     * @return string
76
     */
77
    public function getJobTitle()
78
    {
79
        return $this->jobTitle;
80
    }
81
82
    /**
83
     * Sets the job title
84
     *
85
     * @param string $title
86
     *
87
     * @return void
88
     */
89
    public function setJobTitle($title)
90
    {
91
        $this->jobTitle = $title;
92
    }
93
94
    /**
95
     * Returns the description
96
     *
97
     * @return string $description
98
     */
99
    public function getDescription()
100
    {
101
        return $this->description;
102
    }
103
104
    /**
105
     * Sets the description
106
     *
107
     * @param string $description The description
108
     *
109
     * @return void
110
     */
111
    public function setDescription($description)
112
    {
113
        $this->description = $description;
114
    }
115
116
    /**
117
     * Returns the image
118
     *
119
     * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $image
120
     */
121
    public function getImage()
122
    {
123
        return $this->image;
124
    }
125
126
    /**
127
     * Sets the image
128
     *
129
     * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $image Image
130
     *
131
     * @return void
132
     */
133
    public function setImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $image)
134
    {
135
        $this->image = $image;
136
    }
137
}
138