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

DeliveryTimeRepository::findOrCreate()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 13

Duplication

Lines 13
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 1
dl 13
loc 13
rs 9.8333
c 0
b 0
f 0
ccs 0
cts 7
cp 0
crap 6
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\DeliveryTime;
17
use Symfony\Bridge\Doctrine\RegistryInterface;
18
19
/**
20
 * DelivTimeRepository
21
 *
22
 * This class was generated by the Doctrine ORM. Add your own custom
23
 * repository methods below.
24
 */
25
class DeliveryTimeRepository extends AbstractRepository
26
{
27 90
    public function __construct(RegistryInterface $registry)
28
    {
29 90
        parent::__construct($registry, DeliveryTime::class);
30
    }
31
}
32