Passed
Push — develop ( aa4282...8b6a2b )
by Nikolay
05:16 queued 10s
created

LicensingGetKeyForm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
c 0
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 7 1
1
<?php
2
/**
3
 * Copyright (C) MIKO LLC - All Rights Reserved
4
 * Unauthorized copying of this file, via any medium is strictly prohibited
5
 * Proprietary and confidential
6
 * Written by Nikolay Beketov, 5 2018
7
 *
8
 */
9
10
namespace MikoPBX\AdminCabinet\Forms;
11
12
use Phalcon\Forms\Element\Email;
13
use Phalcon\Forms\Element\Numeric;
14
use Phalcon\Forms\Element\Text;
15
use Phalcon\Forms\Form;
16
17
/**
18
 * Class LicensingGetKeyForm
19
 *
20
 * @package MikoPBX\AdminCabinet\Forms
21
 * @property \MikoPBX\Common\Providers\TranslationProvider translation
22
 */
23
class LicensingGetKeyForm extends Form
24
{
25
    public function initialize(): void
26
    {
27
        $this->add(new Text('companyname'));
28
        $this->add(new Email('email'));
29
        $this->add(new Text('contact'));
30
        $this->add(new Numeric('inn'));
31
        $this->add(new Text('telefone'));
32
    }
33
}