public function assertInputPassByReference() { $input = ['do' => 'stuff', 'kill' => 'a dream']; $bag = new ParamBag($input); $bag->set('kill', 'nothing'); $this->assertEquals('nothing', $input->kill); }
/** * Send the header to browser */ public function sendHeaders() { foreach ($this->headers->all() as $header => $value) { header(sprintf('%s:%s', $header, $value)); } }