original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: gets all subclass of the class or interface
  
  @param string $class
  @return array
docstring_tokens: gets all subclass of the class or interface