MvcLite\Response::sendHeaders
Function to return a formatted header string
Signature
public function sendHeaders()
Returns
- Response
- $this for object-chaining.
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"
- [ PASSED ] — MvcLite\ResponseTest::testSendHeaders with data set "simple test"