MvcLite\Response::getContentType
Getter for the content type.
Signature
public function getContentType()
Returns
- string
- The content type for the response
Test Coverage
Information
- Coverage: 5/5 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\ResponseTest::testGetContentType with data set "has header, expect it"
- [ PASSED ] — MvcLite\ResponseTest::testGetContentType with data set "does not have header, expect default"