Test Failed
Push — master ( 698ad9...0c715b )
by Curtis
03:31 queued 03:02
created

SourRef::setSour()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
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;
16
17
class SourRef extends \Gedcom\Record
18
{
19
    protected $_isRef = false;
20
21
    protected $_sour;
22
    protected $_page;
23
    protected $_even;
24
    protected $_data;
25
    protected $_quay;
26
    protected $_text;
27
28
    protected $_obje = [];
29
    protected $_note = [];
30
31
    public function setSour($sour = '')
32
    {
33
        $this->_sour = $sour;
34
35
        return $this;
36
    }
37
}
38