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

LicensingGetKeyForm::initialize()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 7
rs 10
cc 1
nc 1
nop 0
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
}