Passed
Branch master (6a7148)
by Curtis
01:48
created

Birt   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFamc() 0 3 1
A setFamc() 0 4 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
 * @package         php-gedcom
11
 * @license         MIT
12
 * @link            http://github.com/mrkrstphr/php-gedcom
13
 */
14
15
namespace PhpGedcom\Record\Indi;
16
17
use PhpGedcom\Record\Indi\Even;
18
19
/**
20
 * Class Birt
21
 * @package PhpGedcom\Record\Indi
22
 */
23
class Birt extends Even
24
{
25
    /**
26
     * @var string
27
     */
28
    protected $famc;
29
30
    /**
31
     * @param string $famc
32
     * @return Birt
33
     */
34
    public function setFamc($famc = '')
35
    {
36
        $this->famc = $famc;
37
        return $this;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getFamc()
44
    {
45
        return $this->famc;
46
    }
47
}
48