Failed Conditions
Pull Request — experimental/sf (#3225)
by Kentaro
58:20 queued 49:13
created

PaymentDispatcher   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 68
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 68
rs 10
c 0
b 0
f 0
ccs 0
cts 19
cp 0
wmc 8
lcom 0
cbo 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A isForward() 0 4 1
A setForward() 0 4 1
A getRoute() 0 4 1
A setRoute() 0 6 1
A getQueryParameters() 0 4 1
A setQueryParameters() 0 6 1
A getPathParameters() 0 4 1
A setPathParameters() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.lockon.co.jp/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Eccube\Service\Payment;
15
16
class PaymentDispatcher
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
17
{
18
    /**
19
     * @var boolean
20
     */
21
    private $forward;
22
23
    /**
24
     * @var string
25
     */
26
    private $route;
27
28
    /**
29
     * @var array
30
     */
31
    private $pathParameters = [];
32
33
    /**
34
     * @var array
35
     */
36
    private $queryParameters = [];
37
38
    public function isForward()
39
    {
40
        return $this->forward;
41
    }
42
43
    public function setForward($forward)
44
    {
45
        $this->forward = $forward;
46
    }
47
48
    public function getRoute()
49
    {
50
        return $this->route;
51
    }
52
53
    public function setRoute($route)
54
    {
55
        $this->route = $route;
56
57
        return $this;
58
    }
59
60
    public function getQueryParameters()
61
    {
62
        return $this->queryParameters;
63
    }
64
65
    public function setQueryParameters(array $queryParameters)
66
    {
67
        $this->queryParameters = $queryParameters;
68
69
        return $this;
70
    }
71
72
    public function getPathParameters()
73
    {
74
        return $this->pathParameters;
75
    }
76
77
    public function setPathParameters(array $pathParameters)
78
    {
79
        $this->pathParameters = $pathParameters;
80
81
        return $this;
82
    }
83
}
84