protected function result($result)
    {
        $this->result =
            $result instanceof Result
                ? $result
                : new Result($result['healthy'], $result['exception_message']);

        return $this->result;
    }
protected function result($result)
    {
        $this->result =
            $result instanceof Result
                ? $result
                : new Result($result['healthy'], $result['exception_message']);

        return $this->result;
    }
protected function result ( $ result ) { $ this -> result = $ result instanceof Result ? $ result : new Result ( $ result [ 'healthy' ] , $ result [ 'exception_message' ] ) ; return $ this -> result ; }
Make a result.

@param $result
@return Result
Make a result .