ObjeRef   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

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

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
 * @license         MIT
11
 *
12
 * @link            http://github.com/mrkrstphr/php-gedcom
13
 */
14
15
namespace Gedcom\Record;
16
17
class ObjeRef extends \Gedcom\Record
18
{
19
    protected $_isRef = false;
20
21
    protected $_obje;
22
23
    protected $_titl;
24
25
    protected $_file;
26
27
    public function setIsReference($isReference = true)
28
    {
29
        $this->_isRef = $isReference;
30
    }
31
32
    public function getIsReference()
33
    {
34
        return $this->_isRef;
35
    }
36
}
37