code: public function get($key, $defaultValue = null)
      {
          if ($this->has($key)) {
              return $this->items[$key];
          }
          return $defaultValue;
      }
docs: Get.
  
  @param string $key
  @param mixed $defaultValue Default null.
  @return mixed