Conflict
Less than 1 minute
Conflict
HTTP 409 Conflict response class.
class Conflict extends \Hazaar\Controller\Response\HTTP\ResponseThis response is sent when a request conflicts with the current state of the server. For example, this status code might be returned when attempting to upload a file that already exists or when there is a version control conflict.
Methods
__construct
Constructs the HTTP 409 Conflict response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 409 and sets the content type.
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentType | string | The content type of the response. Defaults to text/html. |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000