| Total Complexity | 8 |
| Total Lines | 85 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | final class Geo |
||
| 8 | { |
||
| 9 | /** @var Address */ |
||
| 10 | private $address; |
||
| 11 | |||
| 12 | /** @var AddressDetails */ |
||
| 13 | private $address_details; |
||
| 14 | |||
| 15 | /** @var Point */ |
||
| 16 | private $point; |
||
| 17 | |||
| 18 | private $name; |
||
| 19 | |||
| 20 | private $description; |
||
| 21 | |||
| 22 | private $kind; |
||
| 23 | |||
| 24 | private $text; |
||
| 25 | |||
| 26 | public function __construct(Address $address, AddressDetails $address_details, Point $point, |
||
| 27 | $name, $description, $kind, $text) |
||
| 28 | { |
||
| 29 | $this->address=$address; |
||
| 30 | $this->address_details=$address_details; |
||
| 31 | $this->point=$point; |
||
| 32 | $this->name=$name; |
||
| 33 | $this->description=$description; |
||
| 34 | $this->kind=$kind; |
||
| 35 | $this->text=$text; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return Address |
||
| 40 | */ |
||
| 41 | public function getAddress(): Address |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return AddressDetails |
||
| 48 | */ |
||
| 49 | public function getAddressDetails(): AddressDetails |
||
| 50 | { |
||
| 51 | return $this->address_details; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return Point |
||
| 56 | */ |
||
| 57 | public function getPoint(): Point |
||
| 58 | { |
||
| 59 | return $this->point; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return mixed |
||
| 64 | */ |
||
| 65 | public function getName() |
||
| 66 | { |
||
| 67 | return $this->name; |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return mixed |
||
| 72 | */ |
||
| 73 | public function getDescription() |
||
| 76 | } |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @return mixed |
||
| 80 | */ |
||
| 81 | public function getKind() |
||
| 84 | } |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @return mixed |
||
| 88 | */ |
||
| 89 | public function getText() |
||
| 92 | } |
||
| 93 | |||
| 97 | } |