MvcLite\Response::setHeaders
Set multiple headers at one time
Signature
public function setHeaders([array
$headers = ] )
Parameters
$headers
— array
Returns
- Response
- $this for object-chaining.
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\ResponseTest::testGetHeaders
- [ PASSED ] — MvcLite\ResponseTest::testSetHeaders with data set #0
- [ PASSED ] — MvcLite\ResponseTest::testSetHeaders with data set #1