code: public function getParameterTypeOptions($index = null)
      {
          if (is_int($index) && $index >= 0) {
              return isset($this->parameterTypeOptions[$index]) ? $this->parameterTypeOptions[$index] : array();
          }
  
          return $this->parameterTypeOptions;
      }
docs: {@inheritdoc}