Completed
Push — master ( a41bca...d54f6c )
by Giancarlos
02:37
created

SummaryResult::setTicket()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Giansalex
5
 * Date: 21/07/2017
6
 * Time: 23:19
7
 */
8
9
namespace Greenter\Model\Response;
10
11
/**
12
 * Class SummaryResult
13
 * @package Greenter\Model\Response
14
 */
15
class SummaryResult extends BaseResult
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $ticket;
21
22
    /**
23
     * @return string
24
     */
25
    public function getTicket()
26
    {
27
        return $this->ticket;
28
    }
29
30
    /**
31
     * @param string $ticket
32
     * @return SummaryResult
33
     */
34
    public function setTicket($ticket)
35
    {
36
        $this->ticket = $ticket;
37
        return $this;
38
    }
39
}