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

SummaryLargeImageCard::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 SummaryLargeImageCard extends AbstractCard implements SummaryLargeImageCardInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected $type = 'summary_large_image';
25
26
    /**
27
     * @var string
28
     */
29
    protected $creator;
30
31
    /**
32
     * @var string
33
     */
34
    protected $creatorId;
35
36
    /**
37
     * @var string
38
     */
39
    protected $title;
40
41
    /**
42
     * @var string
43
     */
44
    protected $description;
45
46
    /**
47
     * @var string
48
     */
49
    protected $image;
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function getCreator()
55
    {
56
        return $this->creator;
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function setCreator($creator)
63
    {
64
        $this->creator = $creator;
65
    }
66
67
    /**
68
     * {@inheritdoc}
69
     */
70
    public function getCreatorId()
71
    {
72
        return $this->creatorId;
73
    }
74
75
    /**
76
     * {@inheritdoc}
77
     */
78
    public function setCreatorId($creatorId)
79
    {
80
        $this->creatorId = $creatorId;
81
    }
82
83
    /**
84
     * {@inheritdoc}
85
     */
86
    public function getTitle()
87
    {
88
        return $this->title;
89
    }
90
91
    /**
92
     * {@inheritdoc}
93
     */
94
    public function setTitle($title)
95
    {
96
        $this->title = $title;
97
    }
98
99
    /**
100
     * {@inheritdoc}
101
     */
102
    public function getDescription()
103
    {
104
        return $this->description;
105
    }
106
107
    /**
108
     * {@inheritdoc}
109
     */
110
    public function setDescription($description)
111
    {
112
        $this->description = $description;
113
    }
114
115
    /**
116
     * {@inheritdoc}
117
     */
118
    public function getImage()
119
    {
120
        return $this->image;
121
    }
122
123
    /**
124
     * {@inheritdoc}
125
     */
126
    public function setImage($image)
127
    {
128
        $this->image = $image;
129
    }
130
}
131