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

Slgs   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A addSour() 0 3 1
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\Fam;
16
17
use \PhpGedcom\Record\Sourceable;
18
use \PhpGedcom\Record\Noteable;
19
20
/**
21
 *
22
 */
23
class Slgs extends \PhpGedcom\Record implements Sourceable, Noteable
24
{
25
    protected $_stat;
26
    protected $_date;
27
    protected $_plac;
28
    protected $_temp;
29
30
    /**
31
     *
32
     */
33
    protected $_sour = array();
34
35
    /**
36
     *
37
     */
38
    protected $_note = array();
39
40
    /**
41
     *
42
     */
43
    public function addSour($sour = [])
44
    {
45
        $this->_sour[] = $sour;
46
    }
47
48
    /**
49
     *
50
     */
51
    public function addNote($note = [])
52
    {
53
        $this->_note[] = $note;
54
    }
55
}
56