code: public function getConfig(?string $option = null)
      {
          return null === $option
              ? $this->config
              : (isset($this->config[$option]) ? $this->config[$option] : null);
      }
docs: @param null|string $option
  
  @return array|mixed|null