Completed
Push — master ( 4966f7...fc3644 )
by WEBEWEB
01:31
created

Quote::getContent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the core-bundle package.
5
 *
6
 * (c) 2019 WEBEWEB
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 WBW\Bundle\CoreBundle\Quote;
13
14
use WBW\Bundle\CoreBundle\Model\Attribute\DateTimeDateTrait;
15
use WBW\Bundle\CoreBundle\Model\Attribute\StringContentTrait;
16
17
/**
18
 * Quote.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\CoreBundle\Quote
22
 */
23
class Quote implements QuoteInterface {
24
25
    use DateTimeDateTrait;
26
    use StringContentTrait;
27
28
    /**
29
     * Author.
30
     *
31
     * @var string
32
     */
33
    private $author;
34
35
    /**
36
     * Constructor.
37
     */
38
    public function __construct() {
39
        // NOTHING TO DO.
40
    }
41
42
    /**
43
     * {@inheritDoc}
44
     */
45
    public function getAuthor() {
46
        return $this->author;
47
    }
48
49
    /**
50
     * Set the author.
51
     *
52
     * @param string $author The author.
53
     * @return Quote Returns this quote.
54
     */
55
    public function setAuthor($author) {
56
        $this->author = $author;
57
        return $this;
58
    }
59
}
60