PHP Class Phprest\Response\Created

Inheritance: extends Phprest\HttpFoundation\Response
Afficher le fichier Open project: phprest/phprest Class Usage Examples

Méthodes publiques

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

Method Details

__construct() public méthode

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