Test Failed
Push — master ( 8bf0b7...020f1d )
by David
15:40 queued 10:40
created

TokenNotFoundCartEvent::getResponse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace GGGGino\SkuskuCartBundle\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
use Symfony\Component\HttpFoundation\Response;
7
8
/**
9
 * Class TokenNotFoundCartEvent
10
 * @package GGGGino\SkuskuCartBundle\Event
11
 */
12
class TokenNotFoundCartEvent extends Event
13
{
14
    /**
15
     * @var Response
16
     */
17
    protected $response;
18
19
    /**
20
     * @param Response $response
21
     */
22
    public function setResponse($response)
23
    {
24
        $this->response = $response;
25
    }    
26
27
    /**
28
     * @return Response
29
     */
30
    public function getResponse()
31
    {
32
        return $this->response;
33
    }    
34
35
}
36