-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathClassMetadata.php
More file actions
41 lines (37 loc) · 1.49 KB
/
ClassMetadata.php
File metadata and controls
41 lines (37 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
declare(strict_types=1);
/*
* This file is part of the BazingaGeocoderBundle package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Bazinga\GeocoderBundle\Mapping;
/**
* @author Markus Bachmann <markus.bachmann@bachi.biz>
*/
final class ClassMetadata
{
/**
* @param non-empty-string $provider
*/
public function __construct(
public readonly string $provider,
public readonly ?\ReflectionProperty $addressProperty = null,
public readonly ?\ReflectionProperty $latitudeProperty = null,
public readonly ?\ReflectionProperty $longitudeProperty = null,
public readonly ?\ReflectionMethod $addressGetter = null,
public readonly ?\ReflectionProperty $northProperty = null,
public readonly ?\ReflectionProperty $southProperty = null,
public readonly ?\ReflectionProperty $eastProperty = null,
public readonly ?\ReflectionProperty $westProperty = null,
public readonly ?\ReflectionProperty $streetNumberProperty = null,
public readonly ?\ReflectionProperty $streetNameProperty = null,
public readonly ?\ReflectionProperty $localityProperty = null,
public readonly ?\ReflectionProperty $postalCodeProperty = null,
public readonly ?\ReflectionProperty $subLocalityProperty = null,
public readonly ?\ReflectionProperty $countryProperty = null,
) {
}
}