Test Failed
Push — master ( 8adece...e80917 )
by Curtis
28:52 queued 26:09
created

Map::setLati()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 2
c 1
b 1
f 0
dl 0
loc 5
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\Plac;
16
17
/**
18
 * Class Refn.
19
 */
20
class Map extends \Gedcom\Record
21
{
22
    /**
23
     * @var string place_latitude
24
     */
25
    protected $lati;
26
27
    /**
28
     * @var string place_longitude
29
     */
30
    protected $long;
31
32
    /**
33
     * @param string $lati
34
     *
35
     * @return Map
36
     */
37
    public function setLati($lati = '')
38
    {
39
        $this->lati = $lati;
40
41
        return $this;
42
    }
43
44
   /**
45
     * @param string $long
46
     *
47
     * @return Map
48
     */
49
    public function setLong($long = '')
50
    {
51
        $this->long = $long;
52
53
        return $this;
54
    }
55
56
}
57