for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Win\Request;
use Win\Data\Data;
/**
* Header HTTP
*/
class Header extends Data {
* Adiciona no 'HTTP Header' os valores que foram adicionados
* @codeCoverageIgnore
public function run() {
foreach ($this->all() as $key => $value) {
header($key . ':' . $value);
}
if ($this->get('location')) {
die();
exit
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.