public function parameter($name, $get = true) { $this->postParam = $name; if ($get) { $this->getParam = $name; } return $this; }