original_string: public function addClass($classes)
      {
          $classes = (array)$classes;
          foreach ($classes as $class) {
              if (class_exists($class) || interface_exists($class)) {
                  $this->classes[] = $class;
              } else {
                  echo "Class not exists: $class\r\n";
              }
          }
      }
code: public function addClass($classes)
      {
          $classes = (array)$classes;
          foreach ($classes as $class) {
              if (class_exists($class) || interface_exists($class)) {
                  $this->classes[] = $class;
              } else {
                  echo "Class not exists: $class\r\n";
              }
          }
      }
code_tokens: public function addClass ( $ classes ) { $ classes = ( array ) $ classes ; foreach ( $ classes as $ class ) { if ( class_exists ( $ class ) || interface_exists ( $ class ) ) { $ this -> classes [ ] = $ class ; } else { echo "Class not exists: $class\r\n" ; } } }
docstring: Add one or more classes to analyze
  
  @param array|string $classes
docstring_tokens: Add one or more classes to analyze