code: public function get($id)
      {
          if (isset($this->data[$id])) {
              return $this->data[$id];
          } else if (isset($this->longOptions[$id])) {
              return $this->longOptions[$id];
          } else if (isset($this->shortOptions[$id])) {
              return $this->shortOptions[$id];
          }
      }
docs: /* Get spec by spec id