Completed
Pull Request — master (#436)
by
unknown
02:59
created

UpdateGeoCoordinates   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 34
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A organizerId() 0 4 1
A address() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace CultuurNet\UDB3\Organizer\Commands;
4
5
use CultuurNet\UDB3\Address\Address;
6
7
class UpdateGeoCoordinates
8
{
9
    /**
10
     * @var string
11
     */
12
    private $organizerId;
13
14
    /**
15
     * @var Address
16
     */
17
    private $address;
18
19
    public function __construct(string $organizerId, Address $address)
20
    {
21
        $this->organizerId = $organizerId;
22
        $this->address = $address;
23
    }
24
25
    /**
26
     * @return string
27
     */
28
    public function organizerId(): string
29
    {
30
        return $this->organizerId;
31
    }
32
33
    /**
34
     * @return Address
35
     */
36
    public function address(): Address
37
    {
38
        return $this->address;
39
    }
40
}
41