Aerys\VhostContainer::getBindableAddresses PHP Method

getBindableAddresses() public method

Retrieve an array of unique socket addresses on which hosts should listen
public getBindableAddresses ( ) : array
return array Returns an array of unique host addresses in the form: tcp://ip:port
    public function getBindableAddresses() : array
    {
        return array_unique(array_merge(...array_values(array_map(function ($vhost) {
            return $vhost->getBindableAddresses();
        }, $this->vhosts))));
    }