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

UpdateGeoCoordinatesFromAddress::address()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace CultuurNet\UDB3\Organizer\Commands;
4
5
use CultuurNet\UDB3\Address\Address;
6
7
class UpdateGeoCoordinatesFromAddress
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