Passed
Push — main ( 8fe4a9...23f062 )
by Stefan
03:16
created

NullFormData::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
namespace SKien\Formgenerator;
3
4
/**
5
 * Empty FormData used to initialize FormGenerator Data member.
6
 *
7
 * #### History
8
 * - *2021-01-17*   initial version
9
 *
10
 * @package Formgenerator
11
 * @version 1.1.0
12
 * @author Stefanius <[email protected]>
13
 * @copyright MIT License - see the LICENSE file for details
14
 */
15
class NullFormData extends AbstractFormData
16
{
17
    /**
18
     * create empty array for both iterators.
19
     */
20
    public function __construct()
21
    {
22
        $this->aValues = [];
23
        $this->aSelectOptions = [];
24
    }
25
}
26
27