| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __get(string $name): mixed |
||
| 32 | { |
||
| 33 | return match ($name) { |
||
| 34 | 'link_local' => new IPAddressV6LinkLocal($this->client, $this->data[$name]), |
||
| 35 | 'slaac' => new IPAddressV6Slaac($this->client, $this->data[$name]), |
||
| 36 | 'global' => new IPv6Pool($this->client, $this->data[$name]), |
||
| 37 | default => parent::__get($name), |
||
| 38 | }; |
||
| 41 |