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

Birt::getFamc()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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