Completed
Push — support-coverage ( 9b57a3...b5dae6 )
by Kentaro
41:38
created

Cash::setApplication()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 0
cts 2
cp 0
crap 2
1
<?php
2
3
namespace Eccube\Service\Payment\Method;
4
5
use Eccube\Service\Payment\PaymentMethod;
6
use Eccube\Service\Payment\PaymentResult;
7
8
class Cash implements PaymentMethod
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
9
{
10
    protected $app;
11
    protected $request;
12
13 3
    public function checkout()
14
    {
15 3
        return new PaymentResult();
16
    }
17
18 3
    public function apply()
19
    {
20 3
        return false;
21
    }
22
23
    public function setFormType($form)
24
    {
25
        // quiet
26
    }
27
28
    public function setApplication($app)
29
    {
30
        $this->app = $app;
31
    }
32
33 2
    public function setRequest($request)
34
    {
35 2
        $this->request = $request;
36
    }
37
}
38