Note   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A addRefn() 0 3 1
A addSour() 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 PhpGedcom\Record;
16
17
class Note extends \PhpGedcom\Record implements Sourceable
18
{
19
    protected $_id = null;
20
    protected $_note = null;
21
22
    protected $_even = null;
23
    protected $_refn = [];
24
    protected $_rin = null;
25
26
    protected $_sour = [];
27
    protected $_chan = null;
28
29
    public function addRefn($refn = [])
30
    {
31
        $this->_refn[] = $refn;
32
    }
33
34
    public function addSour($sour = [])
35
    {
36
        $this->_sour[] = $sour;
37
    }
38
}
39