Completed
Push — master ( 8974a5...43dd1c )
by Adam
06:18
created

OrderNote::setContent()   A

Complexity

Conditions 1
Paths 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 4
Code Lines 2

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * WellCommerce Open-Source E-Commerce Platform
4
 *
5
 * This file is part of the WellCommerce package.
6
 *
7
 * (c) Adam Piotrowski <adam@wellcommerce.org>
8
 *
9
 * For the full copyright and license information,
10
 * please view the LICENSE file that was distributed with this source code.
11
 */
12
13
namespace WellCommerce\Bundle\OrderBundle\Entity;
14
15
use Knp\DoctrineBehaviors\Model\Blameable\Blameable;
16
use Knp\DoctrineBehaviors\Model\Timestampable\Timestampable;
17
use WellCommerce\Bundle\CoreBundle\Doctrine\Behaviours\Identifiable;
18
use WellCommerce\Bundle\CoreBundle\Entity\EntityInterface;
19
20
/**
21
 * Class OrderNote
22
 *
23
 * @author  Adam Piotrowski <adam@wellcommerce.org>
24
 */
25
class OrderNote implements EntityInterface
26
{
27
    use Identifiable;
28
    use Timestampable;
29
    use Blameable;
30
    use OrderAwareTrait;
31
    
32
    protected $content = '';
33
    
34
    public function getContent(): string
35
    {
36
        return $this->content;
37
    }
38
    
39
    public function setContent(string $content)
40
    {
41
        $this->content = $content;
42
    }
43
}
44