Completed
Pull Request — 4.0 (#3658)
by Kentaro
06:26
created

DeliveryFeeRepository::findOrCreate()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 16

Duplication

Lines 16
Ratio 100 %

Code Coverage

Tests 8
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 1
dl 16
loc 16
rs 9.7333
c 0
b 0
f 0
ccs 8
cts 8
cp 1
crap 2
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\Repository;
15
16
use Eccube\Entity\DeliveryFee;
17
use Symfony\Bridge\Doctrine\RegistryInterface;
18
19
/**
20
 * DelivFeeRepository
21
 *
22
 * This class was generated by the Doctrine ORM. Add your own custom
23
 * repository methods below.
24
 */
25
class DeliveryFeeRepository extends AbstractRepository
26
{
27
    /**
28
     * DeliveryFeeRepository constructor.
29
     *
30
     * @param RegistryInterface $registry
31
     */
32 764
    public function __construct(RegistryInterface $registry)
33
    {
34 764
        parent::__construct($registry, DeliveryFee::class);
35
    }
36
}
37