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

Cash::setRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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\Method;
15
16
use Eccube\Entity\Order;
17
use Eccube\Service\Payment\PaymentMethod;
18
use Eccube\Service\Payment\PaymentResult;
19
use Symfony\Component\Form\FormInterface;
20
21
class Cash implements PaymentMethod
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26 7
    public function checkout()
27
    {
28 7
        return new PaymentResult();
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34 7
    public function apply()
35
    {
36 7
        return false;
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function setFormType(FormInterface $form)
43
    {
44
        // quiet
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50 5
    public function verify()
51
    {
52 5
        return false;
53
    }
54
55
    /**
56
     * {@inheritdoc}
57
     */
58
    public function setOrder(Order $Order)
59
    {
60
        // quiet
61
    }
62
}
63