XmlResponse
class XmlResponse extends Response (View source)
Traits
Macroable
ResponseTrait
Properties
$headers | |||
$options |
Methods
__construct(mixed $data = null, int $status = 200, array $headers = [], array $options = [])
Constructor.
setContent(string|null $content)
Set the content on the response.
Details
__construct(mixed $data = null, int $status = 200, array $headers = [], array $options = [])
Constructor.
XmlResponse
setContent(string|null $content)
Set the content on the response.