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

SummaryResult   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 25
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTicket() 0 4 1
A setTicket() 0 5 1
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
}