Basicis - Core

Logo

As the name says, it is made to be basic and direct.

View the Project on GitHub basicis/core

Basicis\Http\Message\ResponseFactory

ResponseFactory

Implements:

Psr\Http\Message\ResponseFactoryInterface

Methods

Name Description
create Function create
Create a new response.  
createResponse Function createResponse
Create a new response.  

ResponseFactory::create

Description

public static create (int $code, string $reasonPhrase)

Function create Create a new response.

Parameters

Return Values

\ResponseInterface


ResponseFactory::createResponse

Description

public createResponse (int $code, string $reasonPhrase)

Function createResponse Create a new response.

Parameters

Return Values

\ResponseInterface