MvcLite\Response::getHeader
gets the header by name
Signature
public function getHeader(string
$name )
Parameters
$name
— string
Returns
- string
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\ResponseTest::testSetHeader with data set "plain content headers"
- [ PASSED ] — MvcLite\ResponseTest::testSetHeader with data set "csv content headers"
- [ PASSED ] — MvcLite\ResponseTest::testSetHeader with data set "testing headers"