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";
            }
        }
    }
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";
            }
        }
    }
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" ; } } }
Add one or more classes to analyze

@param array|string $classes
Add one or more classes to analyze