public function addresses()
    {
        if (Validation::ip($this->_config['host'])) {
            return [$this->_config['host']];
        }

        return gethostbynamel($this->_config['host']);
    }
public function addresses()
    {
        if (Validation::ip($this->_config['host'])) {
            return [$this->_config['host']];
        }

        return gethostbynamel($this->_config['host']);
    }
public function addresses ( ) { if ( Validation :: ip ( $ this -> _config [ 'host' ] ) ) { return [ $ this -> _config [ 'host' ] ] ; } return gethostbynamel ( $ this -> _config [ 'host' ] ) ; }
Get all IP addresses associated with the current connection.

@return array IP addresses
Get all IP addresses associated with the current connection .