public function setAddress(string $address = null) : void
    {
        if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6)) {
            Utils::getContainer()->getLogger()->warning(sprintf('Provided argument (%s) is not a valid IP address.', $address));
        }
        $this->Address = $address;
    }
public function setAddress(string $address = null) : void
    {
        if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6)) {
            Utils::getContainer()->getLogger()->warning(sprintf('Provided argument (%s) is not a valid IP address.', $address));
        }
        $this->Address = $address;
    }
public function setAddress ( string $ address = null ) : void { if ( ! is_null ( $ address ) && ! filter_var ( $ address , FILTER_VALIDATE_IP , FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6 ) ) { Utils :: getContainer ( ) -> getLogger ( ) -> warning ( sprintf ( 'Provided argument (%s) is not a valid IP address.' , $ address ) ) ; } $ this -> Address = $ address ; }
Set the value of the Address-property

@param string|null $address
@return void
Set the value of the Address - property