public function check()
    {
        $healthy = $this->isHealthy();

        return $this->makeResult(
            $healthy,
            $healthy ? '' : $this->target->getErrorMessage()
        );
    }
public function check()
    {
        $healthy = $this->isHealthy();

        return $this->makeResult(
            $healthy,
            $healthy ? '' : $this->target->getErrorMessage()
        );
    }
public function check ( ) { $ healthy = $ this -> isHealthy ( ) ; return $ this -> makeResult ( $ healthy , $ healthy ? '' : $ this -> target -> getErrorMessage ( ) ) ; }
Check health.

@return Result
Check health .