PHP Class Phprest\Response\Created

Inheritance: extends Phprest\HttpFoundation\Response
Show file Open project: phprest/phprest Class Usage Examples

Public Methods

Method Description
__construct ( string $location, mixed $content = '', array $headers = [] )

Method Details

__construct() public method

public __construct ( string $location, mixed $content = '', array $headers = [] )
$location string The value of the Location header
$content mixed The response content, see setContent()
$headers array An array of response headers