Bounds   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace MatthiasMullie\Geo;
3
4
/**
5
 * Please report bugs on https://github.com/matthiasmullie/geo/issues
6
 *
7
 * @author Matthias Mullie <[email protected]>
8
 *
9
 * @copyright Copyright (c) 2013, Matthias Mullie. All rights reserved.
10
 * @license MIT License
11
 */
12
class Bounds
13
{
14
    /**
15
     * @var Coordinate
16
     */
17
    public $ne;
18
19
    /**
20
     * @var Coordinate
21
     */
22
    public $sw;
23
24
    /**
25
     * @param Coordinate $ne North-east coordinate
26
     * @param Coordinate $sw South-west coordinate
27
     */
28
    public function __construct(Coordinate $ne, Coordinate $sw)
29
    {
30
        $this->ne = $ne;
31
        $this->sw = $sw;
32
    }
33
}
34