Completed
Push — master ( 64ee51...635b22 )
by WEBEWEB
01:15
created

AddressTrait::setAddresseeDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the core-library 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\Library\Core\Model;
13
14
use WBW\Library\Core\Model\Attribute\StringAddresseeTrait;
15
use WBW\Library\Core\Model\Attribute\StringCountryTrait;
16
use WBW\Library\Core\Model\Attribute\StringHouseNumberTrait;
17
use WBW\Library\Core\Model\Attribute\StringLocationTrait;
18
use WBW\Library\Core\Model\Attribute\StringPostalCodeTrait;
19
use WBW\Library\Core\Model\Attribute\StringStreetNameTrait;
20
21
/**
22
 * Address trait.
23
 *
24
 * @author webeweb <https://github.com/webeweb>
25
 * @package WBW\Library\Core\Model
26
 */
27
trait AddressTrait {
28
29
    use StringAddresseeTrait;
30
    use StringCountryTrait;
31
    use StringHouseNumberTrait;
32
    use StringLocationTrait;
33
    use StringPostalCodeTrait;
34
    use StringStreetNameTrait;
35
36
    /**
37
     * Addressee description.
38
     *
39
     * @var string
40
     */
41
    private $addresseeDescription;
42
43
    /**
44
     * Get the addressee description.
45
     *
46
     * @return string Returns the addressee description.
47
     */
48
    public function getAddresseeDescription() {
49
        return $this->addresseeDescription;
50
    }
51
52
    /**
53
     * Set the addressee description.
54
     *
55
     * @param string $addresseeDescription The addressee description.
56
     */
57
    public function setAddresseeDescription($addresseeDescription) {
58
        $this->addresseeDescription = $addresseeDescription;
59
        return $this;
60
    }
61
}
62