RedirectResponse
final class RedirectResponse implements Response
Redirects to new URI.
Methods
__construct(string $url, int $httpCode = Http\IResponse::S302_FOUND)
No description
string
getUrl()
No description
int
getCode()
No description
void
send(IRequest $httpRequest, IResponse $httpResponse)
Sends response to output.
Details
at line 30
__construct(string $url, int $httpCode = Http\IResponse::S302_FOUND)
No description
at line 37
string
getUrl()
No description
at line 43
int
getCode()
No description
at line 52
void
send(IRequest $httpRequest, IResponse $httpResponse)
Sends response to output.
Traits
SmartObject