Repo   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 6
dl 0
loc 21
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A addNote() 0 3 1
A addCaln() 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\Sour;
16
17
use Gedcom\Record\Noteable;
18
19
class Repo extends \Gedcom\Record implements Noteable
20
{
21
    protected $_repo;
22
    /**
23
     * array PhpRecord\Sour\Repo\Caln.
24
     */
25
    protected $_caln = [];
26
27
    /**
28
     * array PhpRecord\NoteRef.
29
     */
30
    protected $_note = [];
31
32
    public function addNote($note = [])
33
    {
34
        $this->_note[] = $note;
35
    }
36
37
    public function addCaln($caln = [])
38
    {
39
        $this->_caln[] = $caln;
40
    }
41
}
42