改名
This commit is contained in:
@@ -44,7 +44,6 @@ class Request implements RequestInterface
|
|||||||
public ?AuthIdentity $authority = null;
|
public ?AuthIdentity $authority = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
@@ -143,6 +142,21 @@ class Request implements RequestInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function all(): array
|
||||||
|
{
|
||||||
|
if (empty($this->parseBody)) {
|
||||||
|
$this->parseBody = $this->parseBody($this->stream);
|
||||||
|
}
|
||||||
|
return array_merge($this->serverRequest->post ?? [],
|
||||||
|
$this->serverRequest->get ?? [],
|
||||||
|
is_array($this->parseBody) ? $this->parseBody : []
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user