Completed
Push — master ( 20655c...87b69d )
by Jeroen
02:06
created

Coordinates::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace JeroenDesloovere\Geolocation\Result;
4
5
class Coordinates
6
{
7
    private $latitude;
8
    private $longitude;
9
10
    public function __construct($latitude, $longitude)
11
    {
12
        $this->latitude = $latitude;
13
        $this->longitude = $longitude;
14
    }
15
16
    /**
17
     * @return mixed
18
     */
19
    public function getLatitude()
20
    {
21
        return $this->latitude;
22
    }
23
24
    /**
25
     * @return mixed
26
     */
27
    public function getLongitude()
28
    {
29
        return $this->longitude;
30
    }
31
}
32