Skip to content

Commit

Permalink
Add setter
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreuss committed Sep 1, 2015
1 parent 44f686a commit 86c3296
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ public function getQuery($name, $default = null)
return isset($this->get[$name]) ? $this->get[$name] : $default;
}

public function setQuery($name, $mixed)
{
$this->get[$name] = $mixed;
}

public function getPost($name, $default = null)
{
return isset($this->post[$name]) ? $this->post[$name] : $default;
Expand Down

0 comments on commit 86c3296

Please sign in to comment.