code: public function dump($value)
      {
          $this->reset();
          $this->inspect($value);
          $result = rtrim(implode("", $this->result), "\n");
          return $result;
      }
docs: Generates a string represention of $value, up to a given depth.
  
  @param mixed $value The variable you wish to inspect.
  
  @return string