Gedc   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 7
dl 0
loc 36
c 0
b 0
f 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setVersion() 0 3 1
A setForm() 0 3 1
A getVersion() 0 3 1
A getForm() 0 3 1
1
<?php
2
/**
3
 * php-gedcom.
4
 *
5
 * php-gedcom is a library for parsing, manipulating, importing and exporting
6
 * GEDCOM 5.5 files in PHP 5.3+.
7
 *
8
 * @author          Kristopher Wilson <[email protected]>
9
 * @copyright       Copyright (c) 2010-2013, Kristopher Wilson
10
 * @license         MIT
11
 *
12
 * @link            http://github.com/mrkrstphr/php-gedcom
13
 */
14
15
namespace Gedcom\Record\Head;
16
17
class Gedc extends \Gedcom\Record
18
{
19
    protected $_vers;
20
21
    protected $_form;
22
23
    /**
24
     * @return Gedc/version
0 ignored issues
show
Documentation Bug introduced by
The doc comment Gedc/version at position 0 could not be parsed: Unknown type name 'Gedc/version' at position 0 in Gedc/version.
Loading history...
25
     */
26
    public function getVersion()
27
    {
28
        return $this->_vers;
29
    }
30
31
    /**
32
     * @param Gedc/version
33
     */
34
    public function setVersion($vers = [])
35
    {
36
        $this->_vers = $vers;
37
    }
38
39
    /**
40
     * @return Gedc/form
0 ignored issues
show
Documentation Bug introduced by
The doc comment Gedc/form at position 0 could not be parsed: Unknown type name 'Gedc/form' at position 0 in Gedc/form.
Loading history...
41
     */
42
    public function getForm()
43
    {
44
        return $this->_form;
45
    }
46
47
    /**
48
     * @param Gedc/version
49
     */
50
    public function setForm($form = [])
51
    {
52
        $this->_form = $form;
53
    }
54
}
55