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

ObjeRef   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setIsReference() 0 3 1
A getIsReference() 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;
16
17
/**
18
 *
19
 */
20
class ObjeRef extends \PhpGedcom\Record
21
{
22
    /**
23
     *
24
     */
25
    protected $_isRef   = false;
26
27
    /**
28
     *
29
     */
30
    protected $_obje    = null;
31
32
    /**
33
     *
34
     */
35
    protected $_titl    = null;
36
37
    /**
38
     *
39
     */
40
    protected $_file    = null;
41
42
43
    /**
44
     *
45
     */
46
    public function setIsReference($isReference = true)
47
    {
48
        $this->_isRef = $isReference;
49
    }
50
51
    /**
52
     *
53
     */
54
    public function getIsReference()
55
    {
56
        return $this->_isRef;
57
    }
58
}
59