src/Whip.php
private function coalesceSources($source = null)
    {
        if (isset($source)) {
            return $source;
        } elseif (isset($this->source)) {
            return $this->source;
        }

        return $_SERVER;
    }
private function coalesceSources($source = null)
    {
        if (isset($source)) {
            return $source;
        } elseif (isset($this->source)) {
            return $this->source;
        }

        return $_SERVER;
    }
private function coalesceSources ( $ source = null ) { if ( isset ( $ source ) ) { return $ source ; } elseif ( isset ( $ this -> source ) ) { return $ this -> source ; } return $ _SERVER ; }
Given available sources, get the first available source of IP data.

@param mixed $source A source data argument, if available.
@return mixed The best available source, after fallbacks.
Given available sources get the first available source of IP data .