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 25
__construct(string $url, int $httpCode = Http\IResponse::S302_Found)

No description

Parameters

string $url
int $httpCode

at line 32
string getUrl()

No description

Return Value

string

at line 38
int getCode()

No description

Return Value

int

at line 47
void send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void