Index

iRequest

MMO\core\interfaces · 1 symbol · generated 5 Oct 2026

interface

iRequest

iRequest.php:6
interface MMO\core\interfaces\iRequest extends Psr\Http\Message\ServerRequestInterface, MMO\core\interfaces\iUriProvider, MMO\core\interfaces\iEvent
Namespace
MMO\core\interfaces
Implements
ServerRequestInterface, iUriProvider, iEvent
Inherited members (37)
MethodsDeclared byDescription
AddListener($handler, $priority)iEvent
dispatch()iEvent
getAttribute($name, $default)ServerRequestInterfaceRetrieve a single derived request attribute.
getAttributes()ServerRequestInterfaceRetrieve attributes derived from the request.
getBody()MessageInterfaceGets the body of the message.
getCookieParams()ServerRequestInterfaceRetrieve cookies.
getHeader($name)MessageInterfaceRetrieves a message header value by the given case-insensitive name.
getHeaderLine($name)MessageInterfaceRetrieves a comma-separated string of the values for a single header.
getHeaders()MessageInterfaceRetrieves all message header values.
GetListeners()iEvent
getMethod()RequestInterfaceRetrieves the HTTP method of the request.
getOrigin()iEvent
getParsedBody()ServerRequestInterfaceRetrieve any parameters provided in the request body.
getProtocolVersion()MessageInterfaceRetrieves the HTTP protocol version as a string.
getQueryParams()ServerRequestInterfaceRetrieve query string arguments.
getRequestTarget()RequestInterfaceRetrieves the message's request target.
getServerParams()ServerRequestInterfaceRetrieve server parameters.
getUploadedFiles()ServerRequestInterfaceRetrieve normalized file upload data.
getUri()RequestInterfaceRetrieves the URI instance.
hasHeader($name)MessageInterfaceChecks if a header exists by the given case-insensitive name.
HasListener($handler)iEvent
RemoveListener($handler)iEvent
Send($args)iEvent
withAddedHeader($name, $value)MessageInterfaceReturn an instance with the specified header appended with the given value.
withAttribute($name, $value)ServerRequestInterfaceReturn an instance with the specified derived request attribute.
withBody($body)MessageInterfaceReturn an instance with the specified message body.
withCookieParams($cookies)ServerRequestInterfaceReturn an instance with the specified cookies.
withHeader($name, $value)MessageInterfaceReturn an instance with the provided value replacing the specified header.
withMethod($method)RequestInterfaceReturn an instance with the provided HTTP method.
withoutAttribute($name)ServerRequestInterfaceReturn an instance that removes the specified derived request attribute.
withoutHeader($name)MessageInterfaceReturn an instance without the specified header.
withParsedBody($data)ServerRequestInterfaceReturn an instance with the specified body parameters.
withProtocolVersion($version)MessageInterfaceReturn an instance with the specified HTTP protocol version.
withQueryParams($query)ServerRequestInterfaceReturn an instance with the specified query string arguments.
withRequestTarget($requestTarget)RequestInterfaceReturn an instance with the specific request-target.
withUploadedFiles($uploadedFiles)ServerRequestInterfaceCreate a new instance with the specified uploaded files.
withUri($uri, $preserveHost)RequestInterfaceReturns an instance with the provided URI.