Basket::setSessionIdentifier()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * Basket model
4
 *
5
 * @author  Tim Lochmüller
6
 */
7
8
namespace FRUIT\Shopize\Domain\Model;
9
10
/**
11
 * Basket model
12
 *
13
 * @db
14
 */
15
class Basket extends AbstractModel
16
{
17
18
    /**
19
     * Session identifier
20
     *
21
     * @var string
22
     * @db
23
     */
24
    protected $sessionIdentifier;
25
26
    /**
27
     * Get session identifier
28
     *
29
     * @return string
30
     */
31
    public function getSessionIdentifier()
32
    {
33
        return $this->sessionIdentifier;
34
    }
35
36
    /**
37
     * Set session identifier
38
     *
39
     * @param string $sessionIdentifier
40
     */
41
    public function setSessionIdentifier($sessionIdentifier)
42
    {
43
        $this->sessionIdentifier = $sessionIdentifier;
44
    }
45
}
46