original_string: protected function evalObjLabel($variable)
      {
          $class = get_class($variable);
          $label = class_basename($variable);
  
          if ($variable instanceof ComponentBase) {
              $label = '<strong>Component</strong>';
          }
          elseif ($variable instanceof Collection) {
              $label = 'Collection('.$variable->count().')';
          }
          elseif ($variable instanceof Paginator) {
              $label = 'Paged Collection('.$variable->count().')';
          }
          elseif ($variable instanceof Model) {
              $label = 'Model';
          }
  
          return '<abbr title="'.e($class).'">'.$label.'</abbr>';
      }
code: protected function evalObjLabel($variable)
      {
          $class = get_class($variable);
          $label = class_basename($variable);
  
          if ($variable instanceof ComponentBase) {
              $label = '<strong>Component</strong>';
          }
          elseif ($variable instanceof Collection) {
              $label = 'Collection('.$variable->count().')';
          }
          elseif ($variable instanceof Paginator) {
              $label = 'Paged Collection('.$variable->count().')';
          }
          elseif ($variable instanceof Model) {
              $label = 'Model';
          }
  
          return '<abbr title="'.e($class).'">'.$label.'</abbr>';
      }
code_tokens: protected function evalObjLabel ( $ variable ) { $ class = get_class ( $ variable ) ; $ label = class_basename ( $ variable ) ; if ( $ variable instanceof ComponentBase ) { $ label = '<strong>Component</strong>' ; } elseif ( $ variable instanceof Collection ) { $ label = 'Collection(' . $ variable -> count ( ) . ')' ; } elseif ( $ variable instanceof Paginator ) { $ label = 'Paged Collection(' . $ variable -> count ( ) . ')' ; } elseif ( $ variable instanceof Model ) { $ label = 'Model' ; } return '<abbr title="' . e ( $ class ) . '">' . $ label . '</abbr>' ; }
docstring: Evaluate an object type for label
  @param  object $variable
  @return string
docstring_tokens: Evaluate an object type for label