code: public function getValue($key)
      {
          $values = array();
          foreach ($this->request as $pair) {
              if ($pair->isKey($key)) {
                  $values[] = $pair->getValue();
              }
          }
          if (count($values) == 0) {
              return false;
          } elseif (count($values) == 1) {
              return $values[0];
          } else {
              return $values;
          }
      }
docs: Accessor for single value.
  
  @return string/array    False if missing, string if present and array if multiple entries.