Completed
Push — master ( 0edfe9...83485f )
by Dmitry
08:42
created

SvdsTariffManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
lcom 1
cbo 2
dl 0
loc 17
ccs 0
cts 0
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildForm() 0 8 1
1
<?php
2
3
namespace hipanel\modules\finance\logic;
4
5
use hipanel\modules\finance\forms\SvdsTariffForm;
6
7
class SvdsTariffManager extends VdsTariffManager
8
{
9
    /** @inheritdoc */
10
    public $type = 'svds';
11
12
    /**
13
     * @inheritdoc
14
     */
15
    protected function buildForm()
16
    {
17
        $this->form = new SvdsTariffForm([
18
            'scenario' => $this->scenario,
19
            'baseTariffs' => $this->baseTariffs,
20
            'tariff' => $this->tariff
21
        ]);
22
    }
23
}
24