Get methods for Response

This commit is contained in:
Tanner Mckenney 2021-02-09 20:21:39 -08:00
parent 62266d6c1f
commit 3a0a8bc265

View File

@ -54,6 +54,16 @@ class Response {
return $this;
}
/**
* Get the Response Code
*
* @return int
*/
public function getCode(): int
{
return $this->code;
}
/**
* Set Meta Data
*
@ -67,6 +77,16 @@ class Response {
return $this;
}
/**
* Get the Response Meta
*
* @return string
*/
public function getMeta(): string
{
return $this->meta;
}
/**
* Set the Response content.
*
@ -80,6 +100,16 @@ class Response {
return $this;
}
/**
* Get the Response content
*
* @return string
*/
public function getContent(): string
{
return $this->content;
}
/**
* Magic Method
*/