TestMockApplicationWeb::mockSetHeader
Mock JApplicationWeb->setHeader method.
Signature
public function mockSetHeader(string
$name,
[string
$value = false,
[boolean
$replace = false]] )
Parameters
-
$name
- The name of the header to set.
-
$value
- The value of the header to set.
-
$replace
- True to replace any headers with the same name.
Returns
- void