original_string: public function getClass($class)
      {
          $this->checkClass($class);
  
          if (null === $this->infoClass) {
              $infoClass = get_class($this).'Info';
              $this->infoClass = new $infoClass();
          }
  
          return $this->infoClass->{'get'.str_replace('\\', '', $class).'Class'}();
      }
code: public function getClass($class)
      {
          $this->checkClass($class);
  
          if (null === $this->infoClass) {
              $infoClass = get_class($this).'Info';
              $this->infoClass = new $infoClass();
          }
  
          return $this->infoClass->{'get'.str_replace('\\', '', $class).'Class'}();
      }
code_tokens: public function getClass ( $ class ) { $ this -> checkClass ( $ class ) ; if ( null === $ this -> infoClass ) { $ infoClass = get_class ( $ this ) . 'Info' ; $ this -> infoClass = new $ infoClass ( ) ; } return $ this -> infoClass -> { 'get' . str_replace ( '\\' , '' , $ class ) . 'Class' } ( ) ; }
docstring: Returns the metadata of a class.
  
  @param string $class The class.
  
  @return array The metadata of the class.
  
  @throws \LogicException If the class does not exist in the metadata factory.
docstring_tokens: Returns the metadata of a class .