src/Traits/Strings/IpV6Trait.php
public function getIpV6() : ?string 
    {
        if ( ! $this->hasIpV6()) {
            $this->setIpV6($this->getDefaultIpV6());
        }
        return $this->ipV6;
    }
public function getIpV6() : ?string 
    {
        if ( ! $this->hasIpV6()) {
            $this->setIpV6($this->getDefaultIpV6());
        }
        return $this->ipV6;
    }
public function getIpV6 ( ) : ? string { if ( ! $ this -> hasIpV6 ( ) ) { $ this -> setIpV6 ( $ this -> getDefaultIpV6 ( ) ) ; } return $ this -> ipV6 ; }
Get ip v6

If no "ip v6" value has been set, this method will
set and return a default "ip v6" value,
if any such value is available

@see getDefaultIpV6()

@return string|null ip v6 or null if no ip v6 has been set
Get ip v6