public function getSubClasses($class)
    {
        $class = $this->normalize($class);
        if ($this->classExists($class)) {
            return $this->getSubclassOfClass($class);
        } elseif ($this->interfaceExists($class)) {
            return $this->getSubclassOfInterface($class);
        } else {
            throw new ClassNotExistException($class);
        }
    }
public function getSubClasses($class)
    {
        $class = $this->normalize($class);
        if ($this->classExists($class)) {
            return $this->getSubclassOfClass($class);
        } elseif ($this->interfaceExists($class)) {
            return $this->getSubclassOfInterface($class);
        } else {
            throw new ClassNotExistException($class);
        }
    }
public function getSubClasses ( $ class ) { $ class = $ this -> normalize ( $ class ) ; if ( $ this -> classExists ( $ class ) ) { return $ this -> getSubclassOfClass ( $ class ) ; } elseif ( $ this -> interfaceExists ( $ class ) ) { return $ this -> getSubclassOfInterface ( $ class ) ; } else { throw new ClassNotExistException ( $ class ) ; } }
gets all subclass of the class or interface

@param string $class
@return array
gets all subclass of the class or interface