Failed Conditions
Pull Request — experimental/sf (#3247)
by Kiyotaka
114:07 queued 103:28
created

AbstractPurchaseProcessor   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A prepare() 0 3 1
A commit() 0 3 1
A rollback() 0 3 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\PurchaseFlow\Processor;
15
16
use Eccube\Entity\ItemHolderInterface;
17
use Eccube\Service\PurchaseFlow\PurchaseContext;
18
use Eccube\Service\PurchaseFlow\PurchaseProcessor;
19
20
abstract class AbstractPurchaseProcessor implements PurchaseProcessor
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function prepare(ItemHolderInterface $target, PurchaseContext $context)
26
    {
27
    }
28
29
    /**
30
     * {@inheritdoc}
31
     */
32
    public function commit(ItemHolderInterface $target, PurchaseContext $context)
33
    {
34
    }
35
36
    /**
37
     * {@inheritdoc}
38
     */
39
    public function rollback(ItemHolderInterface $itemHolder, PurchaseContext $context)
40
    {
41
    }
42
}
43