code: public function min($path, $defaultValue = 0)
      {
          if ($this->items === null || (is_array($this->items) && count($this->items) == 0)) {
              return $defaultValue;
          }
          $items = $this->pluck($path, $defaultValue);
          $min = PHP_INT_MAX;
          foreach ($items as $item) {
              if ($item < $min) {
                  $min = $item;
              }
          }
          return $min;
      }
docs: Min.
  
  @param string $path
  @param integer $defaultValue Default 0.
  @return integer