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