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

Famc   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A addNote() 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
 * @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\Noteable;
18
19
/**
20
 *
21
 */
22
class Famc extends \PhpGedcom\Record implements Noteable
23
{
24
    protected $_famc = null;
25
    protected $_pedi = null;
26
27
    /**
28
     *
29
     */
30
    protected $_note = array();
31
32
    /**
33
     *
34
     */
35
    public function addNote($note = [])
36
    {
37
        $this->_note[] = $note;
38
    }
39
}
40