public function check()
    {
        try {
            $health = [];

            foreach ($this->getResourceUrlArray() as $url) {
                list($healthy, $message) = $this->checkWebPage(
                    $this->makeUrlWithScheme($url, $this->secure),
                    $this->secure
                );

                if (! $healthy) {
                    return $this->makeResult($healthy, $message);
                }
            }

            return $this->makeHealthyResult();
        } catch (\Exception $exception) {
            report($exception);

            return $this->makeResultFromException($exception);
        }
    }
public function check()
    {
        try {
            $health = [];

            foreach ($this->getResourceUrlArray() as $url) {
                list($healthy, $message) = $this->checkWebPage(
                    $this->makeUrlWithScheme($url, $this->secure),
                    $this->secure
                );

                if (! $healthy) {
                    return $this->makeResult($healthy, $message);
                }
            }

            return $this->makeHealthyResult();
        } catch (\Exception $exception) {
            report($exception);

            return $this->makeResultFromException($exception);
        }
    }
public function check ( ) { try { $ health = [ ] ; foreach ( $ this -> getResourceUrlArray ( ) as $ url ) { list ( $ healthy , $ message ) = $ this -> checkWebPage ( $ this -> makeUrlWithScheme ( $ url , $ this -> secure ) , $ this -> secure ) ; if ( ! $ healthy ) { return $ this -> makeResult ( $ healthy , $ message ) ; } } return $ this -> makeHealthyResult ( ) ; } catch ( \ Exception $ exception ) { report ( $ exception ) ; return $ this -> makeResultFromException ( $ exception ) ; } }
HTTP Checker.

@return Result
HTTP Checker .