Subregion   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Alxarafe. Development of PHP applications in a flash!
4
 * Copyright (C) 2018-2020 Alxarafe <[email protected]>
5
 */
6
7
namespace Modules\Sample\Models;
8
9
use Alxarafe\Core\Base\Table;
10
11
/**
12
 * Class Subregion
13
 *
14
 * @package Modules\Sample\Models
15
 */
16
class Subregion extends Table
17
{
18
    /**
19
     * Subregion constructor.
20
     *
21
     * @param bool $create
22
     */
23
    public function __construct(bool $create = false)
24
    {
25
        parent::__construct('subregions', ['create' => $create]);
26
    }
27
}
28