1 | <?php |
||
9 | class Marker { |
||
10 | |||
11 | private $coordinates; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $iconUrl = ''; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $text = ''; |
||
22 | |||
23 | public function __construct( LatLongValue $coordinates ) { |
||
26 | |||
27 | public function getCoordinates(): LatLongValue { |
||
30 | |||
31 | public function getIconUrl(): string { |
||
34 | |||
35 | public function setIconUrl( string $iconUrl ): void { |
||
38 | |||
39 | public function getText(): string { |
||
42 | |||
43 | public function setText( string $text ): void { |
||
46 | |||
47 | } |
||
48 |