src/SnooPHP/Curl/Curl.php
public function content($decodeJson = false)
	{
		return $decodeJson && preg_match("~^application/json.*~", $this->lastResultType) && $this->lastResult ?
		from_json($this->lastResult) :
		$this->lastResult;
	}
public function content($decodeJson = false)
	{
		return $decodeJson && preg_match("~^application/json.*~", $this->lastResultType) && $this->lastResult ?
		from_json($this->lastResult) :
		$this->lastResult;
	}
public function content ( $ decodeJson = false ) { return $ decodeJson && preg_match ( "~^application/json.*~" , $ this -> lastResultType ) && $ this -> lastResult ? from_json ( $ this -> lastResult ) : $ this -> lastResult ; }
Get curl response body

@param bool $decodeJson if true and return type is json, decode content

@return null|bool|string
Get curl response body