src/Didww/API2/Country.php
protected function setPSTNNetworksFromArray($networks = array())
    {
        $this->_pstnNetworks = array();
        foreach ($networks as $network) {
            $network = new PSTNNetwork((array)$network);
            $network->setCountry($this);
            $this->_pstnNetworks[] = $network;
        }
    }
protected function setPSTNNetworksFromArray($networks = array())
    {
        $this->_pstnNetworks = array();
        foreach ($networks as $network) {
            $network = new PSTNNetwork((array)$network);
            $network->setCountry($this);
            $this->_pstnNetworks[] = $network;
        }
    }
method to build PSTNNetwork objects from multidimension array
@param array $networks
@return void