TLangInit   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace kalanis\UploadPerPartes\Traits;
4
5
6
use kalanis\UploadPerPartes\Interfaces;
7
8
9
/**
10
 * Trait TLangInit
11
 * @package kalanis\UploadPerPartes\Traits
12
 * Initialize only lang
13
 */
14
trait TLangInit
15
{
16
    use TLang;
17
18 180
    public function __construct(?Interfaces\IUppTranslations $lang = null)
19
    {
20 180
        $this->setUppLang($lang);
21 180
    }
22
}
23