Aerys\VhostContainer::selectHttpDriver PHP Method

selectHttpDriver() public method

Select the suited HttpDriver instance, filtered by address and port pair
public selectHttpDriver ( $address, $port )
    public function selectHttpDriver($address, $port)
    {
        return $this->httpDrivers[$port][$address] ?? $this->httpDrivers[$port][\strlen(inet_pton($address)) === 4 ? "0.0.0.0" : "::"];
    }