static function inspect (Component $component, $deep = false)
  {
    if (self::$inspecting)
      return '';
    self::$inspecting   = true;
    self::$recursionMap = new SplObjectStorage;
    ob_start ();
    self::_inspect ($component, $deep);
    self::$inspecting = false;
    return "<code>" . ob_get_clean () . "</code>";
  }
static function inspect (Component $component, $deep = false)
  {
    if (self::$inspecting)
      return '';
    self::$inspecting   = true;
    self::$recursionMap = new SplObjectStorage;
    ob_start ();
    self::_inspect ($component, $deep);
    self::$inspecting = false;
    return "<code>" . ob_get_clean () . "</code>";
  }
static function inspect ( Component $ component , $ deep = false ) { if ( self :: $ inspecting ) return '' ; self :: $ inspecting = true ; self :: $ recursionMap = new SplObjectStorage ; ob_start ( ) ; self :: _inspect ( $ component , $ deep ) ; self :: $ inspecting = false ; return "<code>" . ob_get_clean ( ) . "</code>" ; }
Returns a textual representation of the component, suitable for debugging purposes.

@param Component $component
@param bool      $deep
@return string
@throws ComponentException
Returns a textual representation of the component suitable for debugging purposes .