Completed
Push — master ( 90ccc1...22512f )
by Kamil
35:43
created

PlayerCard::setTitle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
dl 0
loc 4
rs 10
c 2
b 1
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the Sylius package.
5
 *
6
 * (c) Paweł Jędrzejewski
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Sylius\Component\Metadata\Model\Twitter;
13
14
/**
15
 * {@inheritdoc}
16
 *
17
 * @author Kamil Kokot <[email protected]>
18
 */
19
class PlayerCard extends AbstractCard implements PlayerCardInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected $type = 'player';
25
26
    /**
27
     * @var string
28
     */
29
    protected $title;
30
31
    /**
32
     * @var string
33
     */
34
    protected $description;
35
36
    /**
37
     * @var string
38
     */
39
    protected $image;
40
41
    /**
42
     * @var string
43
     */
44
    protected $player;
45
46
    /**
47
     * @var integer
48
     */
49
    protected $playerWidth;
50
51
    /**
52
     * @var integer
53
     */
54
    protected $playerHeight;
55
56
    /**
57
     * @var string
58
     */
59
    protected $playerStream;
60
61
    /**
62
     * @var string
63
     */
64
    protected $playerStreamContentType;
65
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function getTitle()
70
    {
71
        return $this->title;
72
    }
73
74
    /**
75
     * {@inheritdoc}
76
     */
77
    public function setTitle($title)
78
    {
79
        $this->title = $title;
80
    }
81
82
    /**
83
     * {@inheritdoc}
84
     */
85
    public function getDescription()
86
    {
87
        return $this->description;
88
    }
89
90
    /**
91
     * {@inheritdoc}
92
     */
93
    public function setDescription($description)
94
    {
95
        $this->description = $description;
96
    }
97
98
    /**
99
     * {@inheritdoc}
100
     */
101
    public function getImage()
102
    {
103
        return $this->image;
104
    }
105
106
    /**
107
     * {@inheritdoc}
108
     */
109
    public function setImage($image)
110
    {
111
        $this->image = $image;
112
    }
113
114
    /**
115
     * {@inheritdoc}
116
     */
117
    public function getPlayer()
118
    {
119
        return $this->player;
120
    }
121
122
    /**
123
     * @inheritDoc
124
     */
125
    public function setPlayer($player)
126
    {
127
        $this->player = $player;
128
    }
129
130
    /**
131
     * {@inheritdoc}
132
     */
133
    public function getPlayerWidth()
134
    {
135
        return $this->playerWidth;
136
    }
137
138
    /**
139
     * {@inheritdoc}
140
     */
141
    public function setPlayerWidth($playerWidth)
142
    {
143
        $this->playerWidth = $playerWidth;
144
    }
145
146
    /**
147
     * {@inheritdoc}
148
     */
149
    public function getPlayerHeight()
150
    {
151
        return $this->playerHeight;
152
    }
153
154
    /**
155
     * {@inheritdoc}
156
     */
157
    public function setPlayerHeight($playerHeight)
158
    {
159
        $this->playerHeight = $playerHeight;
160
    }
161
162
    /**
163
     * {@inheritdoc}
164
     */
165
    public function getPlayerStream()
166
    {
167
        return $this->playerStream;
168
    }
169
170
    /**
171
     * {@inheritdoc}
172
     */
173
    public function setPlayerStream($playerStream)
174
    {
175
        $this->playerStream = $playerStream;
176
    }
177
178
    /**
179
     * {@inheritdoc}
180
     */
181
    public function getPlayerStreamContentType()
182
    {
183
        return $this->playerStreamContentType;
184
    }
185
186
    /**
187
     * {@inheritdoc}
188
     */
189
    public function setPlayerStreamContentType($playerStreamContentType)
190
    {
191
        $this->playerStreamContentType = $playerStreamContentType;
192
    }
193
}
194