Romn::addSour()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 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 Gedcom\Record\Indi\Name;
16
17
/**
18
 * Class Refn.
19
 */
20
class Romn extends \Gedcom\Record
21
{
22
    /**
23
     * @var string romanized_variation
24
     */
25
    protected $romn;
26
27
    /**
28
     * @var string romanized_type
29
     */
30
    protected $type;
31
    /**
32
     * string name_piece_prefix.
33
     */
34
    protected $_npfx;
35
    /**
36
     * string name_piece_given.
37
     */
38
    protected $_givn;
39
    /**
40
     * string name_piece_nickname.
41
     */
42
    protected $_nick;
43
    /**
44
     * strign name_piece_surname_prefix.
45
     */
46
    protected $_spfx;
47
    /**
48
     * string name_piece_surname.
49
     */
50
    protected $_surn;
51
    /**
52
     * string name_piece_suffix.
53
     */
54
    protected $_nsfx;
55
56
    /**
57
     * PhpRecord\NoteRef.
58
     */
59
    protected $_note = [];
60
61
    /**
62
     * PhpRecord\SourRef.
63
     */
64
    protected $_sour = [];
65
66
    public function addSour($sour = [])
67
    {
68
        $this->_sour[] = $sour;
69
    }
70
71
    public function addNote($note = [])
72
    {
73
        $this->_note[] = $note;
74
    }
75
}
76