| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ChatLocation |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The location to which the supergroup is connected. Can't be a live location. |
||
| 20 | * |
||
| 21 | * @var Location |
||
| 22 | */ |
||
| 23 | private $location; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Location address; 1-64 characters, as defined by the chat owner |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $address; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return Location |
||
| 34 | */ |
||
| 35 | public function getLocation(): Location |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param Location $location |
||
| 42 | */ |
||
| 43 | public function setLocation(Location $location): void |
||
| 44 | { |
||
| 45 | $this->location = $location; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getAddress(): string |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $address |
||
| 58 | */ |
||
| 59 | public function setAddress(string $address): void |
||
| 65 |